Package com.google.cloud.tasks.v2beta2
Interface UriOverrideOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UriOverride,UriOverride.Builder
public interface UriOverrideOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetHost()Host override.com.google.protobuf.ByteStringgetHostBytes()Host override.PathOverridegetPathOverride()URI path.PathOverrideOrBuildergetPathOverrideOrBuilder()URI path.longgetPort()Port override.QueryOverridegetQueryOverride()URI Query.QueryOverrideOrBuildergetQueryOverrideOrBuilder()URI Query.UriOverride.SchemegetScheme()Scheme override.intgetSchemeValue()Scheme override.UriOverride.UriOverrideEnforceModegetUriOverrideEnforceMode()URI Override Enforce Mode When specified, determines the Target UriOverride mode.intgetUriOverrideEnforceModeValue()URI Override Enforce Mode When specified, determines the Target UriOverride mode.booleanhasHost()Host override.booleanhasPathOverride()URI path.booleanhasPort()Port override.booleanhasQueryOverride()URI Query.booleanhasScheme()Scheme override.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasScheme
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;- Returns:
- Whether the scheme field is set.
-
getSchemeValue
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;- Returns:
- The enum numeric value on the wire for scheme.
-
getScheme
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;- Returns:
- The scheme.
-
hasHost
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;- Returns:
- Whether the host field is set.
-
getHost
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;- Returns:
- The host.
-
getHostBytes
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;- Returns:
- The bytes for host.
-
hasPort
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;- Returns:
- Whether the port field is set.
-
getPort
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;- Returns:
- The port.
-
hasPathOverride
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;- Returns:
- Whether the pathOverride field is set.
-
getPathOverride
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;- Returns:
- The pathOverride.
-
getPathOverrideOrBuilder
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;
-
hasQueryOverride
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;- Returns:
- Whether the queryOverride field is set.
-
getQueryOverride
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;- Returns:
- The queryOverride.
-
getQueryOverrideOrBuilder
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;
-
getUriOverrideEnforceModeValue
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;- Returns:
- The enum numeric value on the wire for uriOverrideEnforceMode.
-
getUriOverrideEnforceMode
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;- Returns:
- The uriOverrideEnforceMode.
-
-