public final class UriOverride extends com.google.protobuf.GeneratedMessageV3 implements UriOverrideOrBuilder
Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values.Protobuf type
google.cloud.tasks.v2beta2.UriOverride| Modifier and Type | Class and Description |
|---|---|
static class |
UriOverride.Builder
Uri Override.
|
static class |
UriOverride.Scheme
The Scheme for an HTTP request.
|
static class |
UriOverride.UriOverrideEnforceMode
UriOverrideEnforceMode mode is to define enforcing mode for the override
modes.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
HOST_FIELD_NUMBER |
static int |
PATH_OVERRIDE_FIELD_NUMBER |
static int |
PORT_FIELD_NUMBER |
static int |
QUERY_OVERRIDE_FIELD_NUMBER |
static int |
SCHEME_FIELD_NUMBER |
static int |
URI_OVERRIDE_ENFORCE_MODE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static UriOverride |
getDefaultInstance() |
UriOverride |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHost()
Host override.
|
com.google.protobuf.ByteString |
getHostBytes()
Host override.
|
com.google.protobuf.Parser<UriOverride> |
getParserForType() |
PathOverride |
getPathOverride()
URI path.
|
PathOverrideOrBuilder |
getPathOverrideOrBuilder()
URI path.
|
long |
getPort()
Port override.
|
QueryOverride |
getQueryOverride()
URI Query.
|
QueryOverrideOrBuilder |
getQueryOverrideOrBuilder()
URI Query.
|
UriOverride.Scheme |
getScheme()
Scheme override.
|
int |
getSchemeValue()
Scheme override.
|
int |
getSerializedSize() |
UriOverride.UriOverrideEnforceMode |
getUriOverrideEnforceMode()
URI Override Enforce Mode
When specified, determines the Target UriOverride mode.
|
int |
getUriOverrideEnforceModeValue()
URI Override Enforce Mode
When specified, determines the Target UriOverride mode.
|
int |
hashCode() |
boolean |
hasHost()
Host override.
|
boolean |
hasPathOverride()
URI path.
|
boolean |
hasPort()
Port override.
|
boolean |
hasQueryOverride()
URI Query.
|
boolean |
hasScheme()
Scheme override.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UriOverride.Builder |
newBuilder() |
static UriOverride.Builder |
newBuilder(UriOverride prototype) |
UriOverride.Builder |
newBuilderForType() |
protected UriOverride.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static UriOverride |
parseDelimitedFrom(InputStream input) |
static UriOverride |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UriOverride |
parseFrom(byte[] data) |
static UriOverride |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UriOverride |
parseFrom(ByteBuffer data) |
static UriOverride |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UriOverride |
parseFrom(com.google.protobuf.ByteString data) |
static UriOverride |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UriOverride |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UriOverride |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UriOverride |
parseFrom(InputStream input) |
static UriOverride |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<UriOverride> |
parser() |
UriOverride.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SCHEME_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
public static final int PATH_OVERRIDE_FIELD_NUMBER
public static final int QUERY_OVERRIDE_FIELD_NUMBER
public static final int URI_OVERRIDE_ENFORCE_MODE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasScheme()
Scheme override. When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS).
optional .google.cloud.tasks.v2beta2.UriOverride.Scheme scheme = 1;hasScheme in interface UriOverrideOrBuilderpublic int getSchemeValue()
Scheme override. When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS).
optional .google.cloud.tasks.v2beta2.UriOverride.Scheme scheme = 1;getSchemeValue in interface UriOverrideOrBuilderpublic UriOverride.Scheme getScheme()
Scheme override. When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS).
optional .google.cloud.tasks.v2beta2.UriOverride.Scheme scheme = 1;getScheme in interface UriOverrideOrBuilderpublic boolean hasHost()
Host override. When specified, replaces the host part of the task URL. For example, if the task URL is "https://www.google.com," and host value is set to "example.net", the overridden URI will be changed to "https://example.net." Host value cannot be an empty string (INVALID_ARGUMENT).
optional string host = 2;hasHost in interface UriOverrideOrBuilderpublic String getHost()
Host override. When specified, replaces the host part of the task URL. For example, if the task URL is "https://www.google.com," and host value is set to "example.net", the overridden URI will be changed to "https://example.net." Host value cannot be an empty string (INVALID_ARGUMENT).
optional string host = 2;getHost in interface UriOverrideOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
Host override. When specified, replaces the host part of the task URL. For example, if the task URL is "https://www.google.com," and host value is set to "example.net", the overridden URI will be changed to "https://example.net." Host value cannot be an empty string (INVALID_ARGUMENT).
optional string host = 2;getHostBytes in interface UriOverrideOrBuilderpublic boolean hasPort()
Port override. When specified, replaces the port part of the task URI. For instance, for a URI http://www.google.com/foo and port=123, the overridden URI becomes http://www.google.com:123/foo. Note that the port value must be a positive integer. Setting the port to 0 (Zero) clears the URI port.
optional int64 port = 3;hasPort in interface UriOverrideOrBuilderpublic long getPort()
Port override. When specified, replaces the port part of the task URI. For instance, for a URI http://www.google.com/foo and port=123, the overridden URI becomes http://www.google.com:123/foo. Note that the port value must be a positive integer. Setting the port to 0 (Zero) clears the URI port.
optional int64 port = 3;getPort in interface UriOverrideOrBuilderpublic boolean hasPathOverride()
URI path. When specified, replaces the existing path of the task URL. Setting the path value to an empty string clears the URI path segment.
.google.cloud.tasks.v2beta2.PathOverride path_override = 4;hasPathOverride in interface UriOverrideOrBuilderpublic PathOverride getPathOverride()
URI path. When specified, replaces the existing path of the task URL. Setting the path value to an empty string clears the URI path segment.
.google.cloud.tasks.v2beta2.PathOverride path_override = 4;getPathOverride in interface UriOverrideOrBuilderpublic PathOverrideOrBuilder getPathOverrideOrBuilder()
URI path. When specified, replaces the existing path of the task URL. Setting the path value to an empty string clears the URI path segment.
.google.cloud.tasks.v2beta2.PathOverride path_override = 4;getPathOverrideOrBuilder in interface UriOverrideOrBuilderpublic boolean hasQueryOverride()
URI Query. When specified, replaces the query part of the task URI. Setting the query value to an empty string clears the URI query segment.
.google.cloud.tasks.v2beta2.QueryOverride query_override = 5;hasQueryOverride in interface UriOverrideOrBuilderpublic QueryOverride getQueryOverride()
URI Query. When specified, replaces the query part of the task URI. Setting the query value to an empty string clears the URI query segment.
.google.cloud.tasks.v2beta2.QueryOverride query_override = 5;getQueryOverride in interface UriOverrideOrBuilderpublic QueryOverrideOrBuilder getQueryOverrideOrBuilder()
URI Query. When specified, replaces the query part of the task URI. Setting the query value to an empty string clears the URI query segment.
.google.cloud.tasks.v2beta2.QueryOverride query_override = 5;getQueryOverrideOrBuilder in interface UriOverrideOrBuilderpublic int getUriOverrideEnforceModeValue()
URI Override Enforce Mode When specified, determines the Target UriOverride mode. If not specified, it defaults to ALWAYS.
.google.cloud.tasks.v2beta2.UriOverride.UriOverrideEnforceMode uri_override_enforce_mode = 6;
getUriOverrideEnforceModeValue in interface UriOverrideOrBuilderpublic UriOverride.UriOverrideEnforceMode getUriOverrideEnforceMode()
URI Override Enforce Mode When specified, determines the Target UriOverride mode. If not specified, it defaults to ALWAYS.
.google.cloud.tasks.v2beta2.UriOverride.UriOverrideEnforceMode uri_override_enforce_mode = 6;
getUriOverrideEnforceMode in interface UriOverrideOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static UriOverride parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UriOverride parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UriOverride parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UriOverride parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UriOverride parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UriOverride parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UriOverride parseFrom(InputStream input) throws IOException
IOExceptionpublic static UriOverride parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UriOverride parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static UriOverride parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UriOverride parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static UriOverride parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic UriOverride.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UriOverride.Builder newBuilder()
public static UriOverride.Builder newBuilder(UriOverride prototype)
public UriOverride.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UriOverride.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static UriOverride getDefaultInstance()
public static com.google.protobuf.Parser<UriOverride> parser()
public com.google.protobuf.Parser<UriOverride> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public UriOverride getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.