Package com.google.cloud.compute.v1
Class UrlMap.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
- com.google.cloud.compute.v1.UrlMap.Builder
-
- All Implemented Interfaces:
UrlMapOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UrlMap
public static final class UrlMap.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder> implements UrlMapOrBuilder
Represents a URL Map resource. Compute Engine has two URL Map resources: * [Global](/compute/docs/reference/rest/v1/urlMaps) * [Regional](/compute/docs/reference/rest/v1/regionUrlMaps) A URL map resource is a component of certain types of cloud load balancers and Traffic Director: * urlMaps are used by external HTTP(S) load balancers and Traffic Director. * regionUrlMaps are used by internal HTTP(S) load balancers. For a list of supported URL map features by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic management table. This resource defines mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts.
Protobuf typegoogle.cloud.compute.v1.UrlMap
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UrlMap.BuilderaddAllHostRules(Iterable<? extends HostRule> values)The list of host rules to use against the URL.UrlMap.BuilderaddAllPathMatchers(Iterable<? extends PathMatcher> values)The list of named PathMatchers to use against the URL.UrlMap.BuilderaddAllTests(Iterable<? extends UrlMapTest> values)The list of expected URL mapping tests.UrlMap.BuilderaddHostRules(int index, HostRule value)The list of host rules to use against the URL.UrlMap.BuilderaddHostRules(int index, HostRule.Builder builderForValue)The list of host rules to use against the URL.UrlMap.BuilderaddHostRules(HostRule value)The list of host rules to use against the URL.UrlMap.BuilderaddHostRules(HostRule.Builder builderForValue)The list of host rules to use against the URL.HostRule.BuilderaddHostRulesBuilder()The list of host rules to use against the URL.HostRule.BuilderaddHostRulesBuilder(int index)The list of host rules to use against the URL.UrlMap.BuilderaddPathMatchers(int index, PathMatcher value)The list of named PathMatchers to use against the URL.UrlMap.BuilderaddPathMatchers(int index, PathMatcher.Builder builderForValue)The list of named PathMatchers to use against the URL.UrlMap.BuilderaddPathMatchers(PathMatcher value)The list of named PathMatchers to use against the URL.UrlMap.BuilderaddPathMatchers(PathMatcher.Builder builderForValue)The list of named PathMatchers to use against the URL.PathMatcher.BuilderaddPathMatchersBuilder()The list of named PathMatchers to use against the URL.PathMatcher.BuilderaddPathMatchersBuilder(int index)The list of named PathMatchers to use against the URL.UrlMap.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UrlMap.BuilderaddTests(int index, UrlMapTest value)The list of expected URL mapping tests.UrlMap.BuilderaddTests(int index, UrlMapTest.Builder builderForValue)The list of expected URL mapping tests.UrlMap.BuilderaddTests(UrlMapTest value)The list of expected URL mapping tests.UrlMap.BuilderaddTests(UrlMapTest.Builder builderForValue)The list of expected URL mapping tests.UrlMapTest.BuilderaddTestsBuilder()The list of expected URL mapping tests.UrlMapTest.BuilderaddTestsBuilder(int index)The list of expected URL mapping tests.UrlMapbuild()UrlMapbuildPartial()UrlMap.Builderclear()UrlMap.BuilderclearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.UrlMap.BuilderclearDefaultRouteAction()defaultRouteAction takes effect when none of the hostRules match.UrlMap.BuilderclearDefaultService()The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match.UrlMap.BuilderclearDefaultUrlRedirect()When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.UrlMap.BuilderclearDescription()An optional description of this resource.UrlMap.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)UrlMap.BuilderclearFingerprint()Fingerprint of this resource.UrlMap.BuilderclearHeaderAction()Specifies changes to request and response headers that need to take effect for the selected backendService.UrlMap.BuilderclearHostRules()The list of host rules to use against the URL.UrlMap.BuilderclearId()[Output Only] The unique identifier for the resource.UrlMap.BuilderclearKind()[Output Only] Type of the resource.UrlMap.BuilderclearName()Name of the resource.UrlMap.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)UrlMap.BuilderclearPathMatchers()The list of named PathMatchers to use against the URL.UrlMap.BuilderclearRegion()[Output Only] URL of the region where the regional URL map resides.UrlMap.BuilderclearSelfLink()[Output Only] Server-defined URL for the resource.UrlMap.BuilderclearTests()The list of expected URL mapping tests.UrlMap.Builderclone()StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.UrlMapgetDefaultInstanceForType()HttpRouteActiongetDefaultRouteAction()defaultRouteAction takes effect when none of the hostRules match.HttpRouteAction.BuildergetDefaultRouteActionBuilder()defaultRouteAction takes effect when none of the hostRules match.HttpRouteActionOrBuildergetDefaultRouteActionOrBuilder()defaultRouteAction takes effect when none of the hostRules match.StringgetDefaultService()The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match.com.google.protobuf.ByteStringgetDefaultServiceBytes()The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match.HttpRedirectActiongetDefaultUrlRedirect()When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.HttpRedirectAction.BuildergetDefaultUrlRedirectBuilder()When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.HttpRedirectActionOrBuildergetDefaultUrlRedirectOrBuilder()When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFingerprint()Fingerprint of this resource.com.google.protobuf.ByteStringgetFingerprintBytes()Fingerprint of this resource.HttpHeaderActiongetHeaderAction()Specifies changes to request and response headers that need to take effect for the selected backendService.HttpHeaderAction.BuildergetHeaderActionBuilder()Specifies changes to request and response headers that need to take effect for the selected backendService.HttpHeaderActionOrBuildergetHeaderActionOrBuilder()Specifies changes to request and response headers that need to take effect for the selected backendService.HostRulegetHostRules(int index)The list of host rules to use against the URL.HostRule.BuildergetHostRulesBuilder(int index)The list of host rules to use against the URL.List<HostRule.Builder>getHostRulesBuilderList()The list of host rules to use against the URL.intgetHostRulesCount()The list of host rules to use against the URL.List<HostRule>getHostRulesList()The list of host rules to use against the URL.HostRuleOrBuildergetHostRulesOrBuilder(int index)The list of host rules to use against the URL.List<? extends HostRuleOrBuilder>getHostRulesOrBuilderList()The list of host rules to use against the URL.longgetId()[Output Only] The unique identifier for the resource.StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.StringgetName()Name of the resource.com.google.protobuf.ByteStringgetNameBytes()Name of the resource.PathMatchergetPathMatchers(int index)The list of named PathMatchers to use against the URL.PathMatcher.BuildergetPathMatchersBuilder(int index)The list of named PathMatchers to use against the URL.List<PathMatcher.Builder>getPathMatchersBuilderList()The list of named PathMatchers to use against the URL.intgetPathMatchersCount()The list of named PathMatchers to use against the URL.List<PathMatcher>getPathMatchersList()The list of named PathMatchers to use against the URL.PathMatcherOrBuildergetPathMatchersOrBuilder(int index)The list of named PathMatchers to use against the URL.List<? extends PathMatcherOrBuilder>getPathMatchersOrBuilderList()The list of named PathMatchers to use against the URL.StringgetRegion()[Output Only] URL of the region where the regional URL map resides.com.google.protobuf.ByteStringgetRegionBytes()[Output Only] URL of the region where the regional URL map resides.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.UrlMapTestgetTests(int index)The list of expected URL mapping tests.UrlMapTest.BuildergetTestsBuilder(int index)The list of expected URL mapping tests.List<UrlMapTest.Builder>getTestsBuilderList()The list of expected URL mapping tests.intgetTestsCount()The list of expected URL mapping tests.List<UrlMapTest>getTestsList()The list of expected URL mapping tests.UrlMapTestOrBuildergetTestsOrBuilder(int index)The list of expected URL mapping tests.List<? extends UrlMapTestOrBuilder>getTestsOrBuilderList()The list of expected URL mapping tests.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDefaultRouteAction()defaultRouteAction takes effect when none of the hostRules match.booleanhasDefaultService()The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match.booleanhasDefaultUrlRedirect()When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.booleanhasDescription()An optional description of this resource.booleanhasFingerprint()Fingerprint of this resource.booleanhasHeaderAction()Specifies changes to request and response headers that need to take effect for the selected backendService.booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()[Output Only] Type of the resource.booleanhasName()Name of the resource.booleanhasRegion()[Output Only] URL of the region where the regional URL map resides.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()UrlMap.BuildermergeDefaultRouteAction(HttpRouteAction value)defaultRouteAction takes effect when none of the hostRules match.UrlMap.BuildermergeDefaultUrlRedirect(HttpRedirectAction value)When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.UrlMap.BuildermergeFrom(UrlMap other)UrlMap.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)UrlMap.BuildermergeFrom(com.google.protobuf.Message other)UrlMap.BuildermergeHeaderAction(HttpHeaderAction value)Specifies changes to request and response headers that need to take effect for the selected backendService.UrlMap.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UrlMap.BuilderremoveHostRules(int index)The list of host rules to use against the URL.UrlMap.BuilderremovePathMatchers(int index)The list of named PathMatchers to use against the URL.UrlMap.BuilderremoveTests(int index)The list of expected URL mapping tests.UrlMap.BuildersetCreationTimestamp(String value)[Output Only] Creation timestamp in RFC3339 text format.UrlMap.BuildersetCreationTimestampBytes(com.google.protobuf.ByteString value)[Output Only] Creation timestamp in RFC3339 text format.UrlMap.BuildersetDefaultRouteAction(HttpRouteAction value)defaultRouteAction takes effect when none of the hostRules match.UrlMap.BuildersetDefaultRouteAction(HttpRouteAction.Builder builderForValue)defaultRouteAction takes effect when none of the hostRules match.UrlMap.BuildersetDefaultService(String value)The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match.UrlMap.BuildersetDefaultServiceBytes(com.google.protobuf.ByteString value)The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match.UrlMap.BuildersetDefaultUrlRedirect(HttpRedirectAction value)When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.UrlMap.BuildersetDefaultUrlRedirect(HttpRedirectAction.Builder builderForValue)When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.UrlMap.BuildersetDescription(String value)An optional description of this resource.UrlMap.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)An optional description of this resource.UrlMap.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UrlMap.BuildersetFingerprint(String value)Fingerprint of this resource.UrlMap.BuildersetFingerprintBytes(com.google.protobuf.ByteString value)Fingerprint of this resource.UrlMap.BuildersetHeaderAction(HttpHeaderAction value)Specifies changes to request and response headers that need to take effect for the selected backendService.UrlMap.BuildersetHeaderAction(HttpHeaderAction.Builder builderForValue)Specifies changes to request and response headers that need to take effect for the selected backendService.UrlMap.BuildersetHostRules(int index, HostRule value)The list of host rules to use against the URL.UrlMap.BuildersetHostRules(int index, HostRule.Builder builderForValue)The list of host rules to use against the URL.UrlMap.BuildersetId(long value)[Output Only] The unique identifier for the resource.UrlMap.BuildersetKind(String value)[Output Only] Type of the resource.UrlMap.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] Type of the resource.UrlMap.BuildersetName(String value)Name of the resource.UrlMap.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the resource.UrlMap.BuildersetPathMatchers(int index, PathMatcher value)The list of named PathMatchers to use against the URL.UrlMap.BuildersetPathMatchers(int index, PathMatcher.Builder builderForValue)The list of named PathMatchers to use against the URL.UrlMap.BuildersetRegion(String value)[Output Only] URL of the region where the regional URL map resides.UrlMap.BuildersetRegionBytes(com.google.protobuf.ByteString value)[Output Only] URL of the region where the regional URL map resides.UrlMap.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)UrlMap.BuildersetSelfLink(String value)[Output Only] Server-defined URL for the resource.UrlMap.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for the resource.UrlMap.BuildersetTests(int index, UrlMapTest value)The list of expected URL mapping tests.UrlMap.BuildersetTests(int index, UrlMapTest.Builder builderForValue)The list of expected URL mapping tests.UrlMap.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
clear
public UrlMap.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
getDefaultInstanceForType
public UrlMap getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public UrlMap build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UrlMap buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UrlMap.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
setField
public UrlMap.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
clearField
public UrlMap.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
clearOneof
public UrlMap.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
setRepeatedField
public UrlMap.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
addRepeatedField
public UrlMap.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
mergeFrom
public UrlMap.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UrlMap.Builder>
-
mergeFrom
public UrlMap.Builder mergeFrom(UrlMap other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
mergeFrom
public UrlMap.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UrlMap.Builder>- Throws:
IOException
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceUrlMapOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceUrlMapOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceUrlMapOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public UrlMap.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public UrlMap.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public UrlMap.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDefaultRouteAction
public boolean hasDefaultRouteAction()
defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466;- Specified by:
hasDefaultRouteActionin interfaceUrlMapOrBuilder- Returns:
- Whether the defaultRouteAction field is set.
-
getDefaultRouteAction
public HttpRouteAction getDefaultRouteAction()
defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466;- Specified by:
getDefaultRouteActionin interfaceUrlMapOrBuilder- Returns:
- The defaultRouteAction.
-
setDefaultRouteAction
public UrlMap.Builder setDefaultRouteAction(HttpRouteAction value)
defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466;
-
setDefaultRouteAction
public UrlMap.Builder setDefaultRouteAction(HttpRouteAction.Builder builderForValue)
defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466;
-
mergeDefaultRouteAction
public UrlMap.Builder mergeDefaultRouteAction(HttpRouteAction value)
defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466;
-
clearDefaultRouteAction
public UrlMap.Builder clearDefaultRouteAction()
defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466;
-
getDefaultRouteActionBuilder
public HttpRouteAction.Builder getDefaultRouteActionBuilder()
defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466;
-
getDefaultRouteActionOrBuilder
public HttpRouteActionOrBuilder getDefaultRouteActionOrBuilder()
defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466;- Specified by:
getDefaultRouteActionOrBuilderin interfaceUrlMapOrBuilder
-
hasDefaultService
public boolean hasDefaultService()
The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
optional string default_service = 370242231;- Specified by:
hasDefaultServicein interfaceUrlMapOrBuilder- Returns:
- Whether the defaultService field is set.
-
getDefaultService
public String getDefaultService()
The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
optional string default_service = 370242231;- Specified by:
getDefaultServicein interfaceUrlMapOrBuilder- Returns:
- The defaultService.
-
getDefaultServiceBytes
public com.google.protobuf.ByteString getDefaultServiceBytes()
The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
optional string default_service = 370242231;- Specified by:
getDefaultServiceBytesin interfaceUrlMapOrBuilder- Returns:
- The bytes for defaultService.
-
setDefaultService
public UrlMap.Builder setDefaultService(String value)
The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
optional string default_service = 370242231;- Parameters:
value- The defaultService to set.- Returns:
- This builder for chaining.
-
clearDefaultService
public UrlMap.Builder clearDefaultService()
The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
optional string default_service = 370242231;- Returns:
- This builder for chaining.
-
setDefaultServiceBytes
public UrlMap.Builder setDefaultServiceBytes(com.google.protobuf.ByteString value)
The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
optional string default_service = 370242231;- Parameters:
value- The bytes for defaultService to set.- Returns:
- This builder for chaining.
-
hasDefaultUrlRedirect
public boolean hasDefaultUrlRedirect()
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338;- Specified by:
hasDefaultUrlRedirectin interfaceUrlMapOrBuilder- Returns:
- Whether the defaultUrlRedirect field is set.
-
getDefaultUrlRedirect
public HttpRedirectAction getDefaultUrlRedirect()
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338;- Specified by:
getDefaultUrlRedirectin interfaceUrlMapOrBuilder- Returns:
- The defaultUrlRedirect.
-
setDefaultUrlRedirect
public UrlMap.Builder setDefaultUrlRedirect(HttpRedirectAction value)
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338;
-
setDefaultUrlRedirect
public UrlMap.Builder setDefaultUrlRedirect(HttpRedirectAction.Builder builderForValue)
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338;
-
mergeDefaultUrlRedirect
public UrlMap.Builder mergeDefaultUrlRedirect(HttpRedirectAction value)
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338;
-
clearDefaultUrlRedirect
public UrlMap.Builder clearDefaultUrlRedirect()
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338;
-
getDefaultUrlRedirectBuilder
public HttpRedirectAction.Builder getDefaultUrlRedirectBuilder()
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338;
-
getDefaultUrlRedirectOrBuilder
public HttpRedirectActionOrBuilder getDefaultUrlRedirectOrBuilder()
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338;- Specified by:
getDefaultUrlRedirectOrBuilderin interfaceUrlMapOrBuilder
-
hasDescription
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceUrlMapOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceUrlMapOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceUrlMapOrBuilder- Returns:
- The bytes for description.
-
setDescription
public UrlMap.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public UrlMap.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public UrlMap.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasFingerprint
public boolean hasFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a UrlMap.
optional string fingerprint = 234678500;- Specified by:
hasFingerprintin interfaceUrlMapOrBuilder- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
public String getFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a UrlMap.
optional string fingerprint = 234678500;- Specified by:
getFingerprintin interfaceUrlMapOrBuilder- Returns:
- The fingerprint.
-
getFingerprintBytes
public com.google.protobuf.ByteString getFingerprintBytes()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a UrlMap.
optional string fingerprint = 234678500;- Specified by:
getFingerprintBytesin interfaceUrlMapOrBuilder- Returns:
- The bytes for fingerprint.
-
setFingerprint
public UrlMap.Builder setFingerprint(String value)
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a UrlMap.
optional string fingerprint = 234678500;- Parameters:
value- The fingerprint to set.- Returns:
- This builder for chaining.
-
clearFingerprint
public UrlMap.Builder clearFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a UrlMap.
optional string fingerprint = 234678500;- Returns:
- This builder for chaining.
-
setFingerprintBytes
public UrlMap.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a UrlMap.
optional string fingerprint = 234678500;- Parameters:
value- The bytes for fingerprint to set.- Returns:
- This builder for chaining.
-
hasHeaderAction
public boolean hasHeaderAction()
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
optional .google.cloud.compute.v1.HttpHeaderAction header_action = 328077352;- Specified by:
hasHeaderActionin interfaceUrlMapOrBuilder- Returns:
- Whether the headerAction field is set.
-
getHeaderAction
public HttpHeaderAction getHeaderAction()
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
optional .google.cloud.compute.v1.HttpHeaderAction header_action = 328077352;- Specified by:
getHeaderActionin interfaceUrlMapOrBuilder- Returns:
- The headerAction.
-
setHeaderAction
public UrlMap.Builder setHeaderAction(HttpHeaderAction value)
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
optional .google.cloud.compute.v1.HttpHeaderAction header_action = 328077352;
-
setHeaderAction
public UrlMap.Builder setHeaderAction(HttpHeaderAction.Builder builderForValue)
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
optional .google.cloud.compute.v1.HttpHeaderAction header_action = 328077352;
-
mergeHeaderAction
public UrlMap.Builder mergeHeaderAction(HttpHeaderAction value)
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
optional .google.cloud.compute.v1.HttpHeaderAction header_action = 328077352;
-
clearHeaderAction
public UrlMap.Builder clearHeaderAction()
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
optional .google.cloud.compute.v1.HttpHeaderAction header_action = 328077352;
-
getHeaderActionBuilder
public HttpHeaderAction.Builder getHeaderActionBuilder()
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
optional .google.cloud.compute.v1.HttpHeaderAction header_action = 328077352;
-
getHeaderActionOrBuilder
public HttpHeaderActionOrBuilder getHeaderActionOrBuilder()
Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
optional .google.cloud.compute.v1.HttpHeaderAction header_action = 328077352;- Specified by:
getHeaderActionOrBuilderin interfaceUrlMapOrBuilder
-
getHostRulesList
public List<HostRule> getHostRulesList()
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;- Specified by:
getHostRulesListin interfaceUrlMapOrBuilder
-
getHostRulesCount
public int getHostRulesCount()
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;- Specified by:
getHostRulesCountin interfaceUrlMapOrBuilder
-
getHostRules
public HostRule getHostRules(int index)
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;- Specified by:
getHostRulesin interfaceUrlMapOrBuilder
-
setHostRules
public UrlMap.Builder setHostRules(int index, HostRule value)
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;
-
setHostRules
public UrlMap.Builder setHostRules(int index, HostRule.Builder builderForValue)
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;
-
addHostRules
public UrlMap.Builder addHostRules(HostRule value)
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;
-
addHostRules
public UrlMap.Builder addHostRules(int index, HostRule value)
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;
-
addHostRules
public UrlMap.Builder addHostRules(HostRule.Builder builderForValue)
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;
-
addHostRules
public UrlMap.Builder addHostRules(int index, HostRule.Builder builderForValue)
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;
-
addAllHostRules
public UrlMap.Builder addAllHostRules(Iterable<? extends HostRule> values)
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;
-
clearHostRules
public UrlMap.Builder clearHostRules()
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;
-
removeHostRules
public UrlMap.Builder removeHostRules(int index)
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;
-
getHostRulesBuilder
public HostRule.Builder getHostRulesBuilder(int index)
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;
-
getHostRulesOrBuilder
public HostRuleOrBuilder getHostRulesOrBuilder(int index)
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;- Specified by:
getHostRulesOrBuilderin interfaceUrlMapOrBuilder
-
getHostRulesOrBuilderList
public List<? extends HostRuleOrBuilder> getHostRulesOrBuilderList()
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;- Specified by:
getHostRulesOrBuilderListin interfaceUrlMapOrBuilder
-
addHostRulesBuilder
public HostRule.Builder addHostRulesBuilder()
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;
-
addHostRulesBuilder
public HostRule.Builder addHostRulesBuilder(int index)
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;
-
getHostRulesBuilderList
public List<HostRule.Builder> getHostRulesBuilderList()
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceUrlMapOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceUrlMapOrBuilder- Returns:
- The id.
-
setId
public UrlMap.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public UrlMap.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()
[Output Only] Type of the resource. Always compute#urlMaps for url maps.
optional string kind = 3292052;- Specified by:
hasKindin interfaceUrlMapOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#urlMaps for url maps.
optional string kind = 3292052;- Specified by:
getKindin interfaceUrlMapOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#urlMaps for url maps.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceUrlMapOrBuilder- Returns:
- The bytes for kind.
-
setKind
public UrlMap.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#urlMaps for url maps.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public UrlMap.Builder clearKind()
[Output Only] Type of the resource. Always compute#urlMaps for url maps.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
public UrlMap.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#urlMaps for url maps.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
hasNamein interfaceUrlMapOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
getNamein interfaceUrlMapOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceUrlMapOrBuilder- Returns:
- The bytes for name.
-
setName
public UrlMap.Builder setName(String value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public UrlMap.Builder clearName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
public UrlMap.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getPathMatchersList
public List<PathMatcher> getPathMatchersList()
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;- Specified by:
getPathMatchersListin interfaceUrlMapOrBuilder
-
getPathMatchersCount
public int getPathMatchersCount()
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;- Specified by:
getPathMatchersCountin interfaceUrlMapOrBuilder
-
getPathMatchers
public PathMatcher getPathMatchers(int index)
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;- Specified by:
getPathMatchersin interfaceUrlMapOrBuilder
-
setPathMatchers
public UrlMap.Builder setPathMatchers(int index, PathMatcher value)
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;
-
setPathMatchers
public UrlMap.Builder setPathMatchers(int index, PathMatcher.Builder builderForValue)
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;
-
addPathMatchers
public UrlMap.Builder addPathMatchers(PathMatcher value)
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;
-
addPathMatchers
public UrlMap.Builder addPathMatchers(int index, PathMatcher value)
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;
-
addPathMatchers
public UrlMap.Builder addPathMatchers(PathMatcher.Builder builderForValue)
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;
-
addPathMatchers
public UrlMap.Builder addPathMatchers(int index, PathMatcher.Builder builderForValue)
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;
-
addAllPathMatchers
public UrlMap.Builder addAllPathMatchers(Iterable<? extends PathMatcher> values)
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;
-
clearPathMatchers
public UrlMap.Builder clearPathMatchers()
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;
-
removePathMatchers
public UrlMap.Builder removePathMatchers(int index)
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;
-
getPathMatchersBuilder
public PathMatcher.Builder getPathMatchersBuilder(int index)
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;
-
getPathMatchersOrBuilder
public PathMatcherOrBuilder getPathMatchersOrBuilder(int index)
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;- Specified by:
getPathMatchersOrBuilderin interfaceUrlMapOrBuilder
-
getPathMatchersOrBuilderList
public List<? extends PathMatcherOrBuilder> getPathMatchersOrBuilderList()
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;- Specified by:
getPathMatchersOrBuilderListin interfaceUrlMapOrBuilder
-
addPathMatchersBuilder
public PathMatcher.Builder addPathMatchersBuilder()
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;
-
addPathMatchersBuilder
public PathMatcher.Builder addPathMatchersBuilder(int index)
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;
-
getPathMatchersBuilderList
public List<PathMatcher.Builder> getPathMatchersBuilderList()
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;
-
hasRegion
public boolean hasRegion()
[Output Only] URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
hasRegionin interfaceUrlMapOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
public String getRegion()
[Output Only] URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
getRegionin interfaceUrlMapOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceUrlMapOrBuilder- Returns:
- The bytes for region.
-
setRegion
public UrlMap.Builder setRegion(String value)
[Output Only] URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
public UrlMap.Builder clearRegion()
[Output Only] URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Returns:
- This builder for chaining.
-
setRegionBytes
public UrlMap.Builder setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceUrlMapOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceUrlMapOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceUrlMapOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
public UrlMap.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public UrlMap.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public UrlMap.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
getTestsList
public List<UrlMapTest> getTestsList()
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;- Specified by:
getTestsListin interfaceUrlMapOrBuilder
-
getTestsCount
public int getTestsCount()
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;- Specified by:
getTestsCountin interfaceUrlMapOrBuilder
-
getTests
public UrlMapTest getTests(int index)
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;- Specified by:
getTestsin interfaceUrlMapOrBuilder
-
setTests
public UrlMap.Builder setTests(int index, UrlMapTest value)
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;
-
setTests
public UrlMap.Builder setTests(int index, UrlMapTest.Builder builderForValue)
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;
-
addTests
public UrlMap.Builder addTests(UrlMapTest value)
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;
-
addTests
public UrlMap.Builder addTests(int index, UrlMapTest value)
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;
-
addTests
public UrlMap.Builder addTests(UrlMapTest.Builder builderForValue)
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;
-
addTests
public UrlMap.Builder addTests(int index, UrlMapTest.Builder builderForValue)
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;
-
addAllTests
public UrlMap.Builder addAllTests(Iterable<? extends UrlMapTest> values)
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;
-
clearTests
public UrlMap.Builder clearTests()
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;
-
removeTests
public UrlMap.Builder removeTests(int index)
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;
-
getTestsBuilder
public UrlMapTest.Builder getTestsBuilder(int index)
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;
-
getTestsOrBuilder
public UrlMapTestOrBuilder getTestsOrBuilder(int index)
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;- Specified by:
getTestsOrBuilderin interfaceUrlMapOrBuilder
-
getTestsOrBuilderList
public List<? extends UrlMapTestOrBuilder> getTestsOrBuilderList()
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;- Specified by:
getTestsOrBuilderListin interfaceUrlMapOrBuilder
-
addTestsBuilder
public UrlMapTest.Builder addTestsBuilder()
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;
-
addTestsBuilder
public UrlMapTest.Builder addTestsBuilder(int index)
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;
-
getTestsBuilderList
public List<UrlMapTest.Builder> getTestsBuilderList()
The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
repeated .google.cloud.compute.v1.UrlMapTest tests = 110251553;
-
setUnknownFields
public final UrlMap.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
mergeUnknownFields
public final UrlMap.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
-