public static final class UriOverride.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UriOverride.Builder> 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 | Method and Description |
|---|---|
UriOverride.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UriOverride |
build() |
UriOverride |
buildPartial() |
UriOverride.Builder |
clear() |
UriOverride.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UriOverride.Builder |
clearHost()
Host override.
|
UriOverride.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UriOverride.Builder |
clearPathOverride()
URI path.
|
UriOverride.Builder |
clearPort()
Port override.
|
UriOverride.Builder |
clearQueryOverride()
URI Query.
|
UriOverride.Builder |
clearScheme()
Scheme override.
|
UriOverride.Builder |
clearUriOverrideEnforceMode()
URI Override Enforce Mode
When specified, determines the Target UriOverride mode.
|
UriOverride.Builder |
clone() |
UriOverride |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHost()
Host override.
|
com.google.protobuf.ByteString |
getHostBytes()
Host override.
|
PathOverride |
getPathOverride()
URI path.
|
PathOverride.Builder |
getPathOverrideBuilder()
URI path.
|
PathOverrideOrBuilder |
getPathOverrideOrBuilder()
URI path.
|
long |
getPort()
Port override.
|
QueryOverride |
getQueryOverride()
URI Query.
|
QueryOverride.Builder |
getQueryOverrideBuilder()
URI Query.
|
QueryOverrideOrBuilder |
getQueryOverrideOrBuilder()
URI Query.
|
UriOverride.Scheme |
getScheme()
Scheme override.
|
int |
getSchemeValue()
Scheme override.
|
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.
|
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() |
UriOverride.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UriOverride.Builder |
mergeFrom(com.google.protobuf.Message other) |
UriOverride.Builder |
mergeFrom(UriOverride other) |
UriOverride.Builder |
mergePathOverride(PathOverride value)
URI path.
|
UriOverride.Builder |
mergeQueryOverride(QueryOverride value)
URI Query.
|
UriOverride.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UriOverride.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UriOverride.Builder |
setHost(String value)
Host override.
|
UriOverride.Builder |
setHostBytes(com.google.protobuf.ByteString value)
Host override.
|
UriOverride.Builder |
setPathOverride(PathOverride.Builder builderForValue)
URI path.
|
UriOverride.Builder |
setPathOverride(PathOverride value)
URI path.
|
UriOverride.Builder |
setPort(long value)
Port override.
|
UriOverride.Builder |
setQueryOverride(QueryOverride.Builder builderForValue)
URI Query.
|
UriOverride.Builder |
setQueryOverride(QueryOverride value)
URI Query.
|
UriOverride.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UriOverride.Builder |
setScheme(UriOverride.Scheme value)
Scheme override.
|
UriOverride.Builder |
setSchemeValue(int value)
Scheme override.
|
UriOverride.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UriOverride.Builder |
setUriOverrideEnforceMode(UriOverride.UriOverrideEnforceMode value)
URI Override Enforce Mode
When specified, determines the Target UriOverride mode.
|
UriOverride.Builder |
setUriOverrideEnforceModeValue(int value)
URI Override Enforce Mode
When specified, determines the Target UriOverride mode.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UriOverride.Builder>public UriOverride.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UriOverride.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UriOverride.Builder>public UriOverride getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UriOverride build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UriOverride buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UriOverride.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UriOverride.Builder>public UriOverride.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<UriOverride.Builder>public UriOverride.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UriOverride.Builder>public UriOverride.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UriOverride.Builder>public UriOverride.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UriOverride.Builder>public UriOverride.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UriOverride.Builder>public UriOverride.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UriOverride.Builder>public UriOverride.Builder mergeFrom(UriOverride other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UriOverride.Builder>public UriOverride.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UriOverride.Builder>IOExceptionpublic 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.Builder setSchemeValue(int value)
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;value - The enum numeric value on the wire for scheme to set.public 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 UriOverride.Builder setScheme(UriOverride.Scheme value)
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;value - The scheme to set.public UriOverride.Builder clearScheme()
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;public 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 UriOverride.Builder setHost(String value)
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;value - The host to set.public UriOverride.Builder clearHost()
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;public UriOverride.Builder setHostBytes(com.google.protobuf.ByteString value)
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;value - The bytes for host to set.public 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 UriOverride.Builder setPort(long value)
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;value - The port to set.public UriOverride.Builder clearPort()
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;public 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 UriOverride.Builder setPathOverride(PathOverride value)
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;public UriOverride.Builder setPathOverride(PathOverride.Builder builderForValue)
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;public UriOverride.Builder mergePathOverride(PathOverride value)
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;public UriOverride.Builder clearPathOverride()
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;public PathOverride.Builder getPathOverrideBuilder()
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;public 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 UriOverride.Builder setQueryOverride(QueryOverride value)
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;public UriOverride.Builder setQueryOverride(QueryOverride.Builder builderForValue)
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;public UriOverride.Builder mergeQueryOverride(QueryOverride value)
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;public UriOverride.Builder clearQueryOverride()
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;public QueryOverride.Builder getQueryOverrideBuilder()
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;public 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.Builder setUriOverrideEnforceModeValue(int value)
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;
value - The enum numeric value on the wire for uriOverrideEnforceMode to set.public 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 UriOverride.Builder setUriOverrideEnforceMode(UriOverride.UriOverrideEnforceMode value)
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;
value - The uriOverrideEnforceMode to set.public UriOverride.Builder clearUriOverrideEnforceMode()
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;
public final UriOverride.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UriOverride.Builder>public final UriOverride.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UriOverride.Builder>Copyright © 2024 Google LLC. All rights reserved.