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 type
google.cloud.compute.v1.UrlMap| Modifier and Type | Method and Description |
|---|---|
UrlMap.Builder |
addAllHostRules(Iterable<? extends HostRule> values)
The list of host rules to use against the URL.
|
UrlMap.Builder |
addAllPathMatchers(Iterable<? extends PathMatcher> values)
The list of named PathMatchers to use against the URL.
|
UrlMap.Builder |
addAllTests(Iterable<? extends UrlMapTest> values)
The list of expected URL mapping tests.
|
UrlMap.Builder |
addHostRules(HostRule.Builder builderForValue)
The list of host rules to use against the URL.
|
UrlMap.Builder |
addHostRules(HostRule value)
The list of host rules to use against the URL.
|
UrlMap.Builder |
addHostRules(int index,
HostRule.Builder builderForValue)
The list of host rules to use against the URL.
|
UrlMap.Builder |
addHostRules(int index,
HostRule value)
The list of host rules to use against the URL.
|
HostRule.Builder |
addHostRulesBuilder()
The list of host rules to use against the URL.
|
HostRule.Builder |
addHostRulesBuilder(int index)
The list of host rules to use against the URL.
|
UrlMap.Builder |
addPathMatchers(int index,
PathMatcher.Builder builderForValue)
The list of named PathMatchers to use against the URL.
|
UrlMap.Builder |
addPathMatchers(int index,
PathMatcher value)
The list of named PathMatchers to use against the URL.
|
UrlMap.Builder |
addPathMatchers(PathMatcher.Builder builderForValue)
The list of named PathMatchers to use against the URL.
|
UrlMap.Builder |
addPathMatchers(PathMatcher value)
The list of named PathMatchers to use against the URL.
|
PathMatcher.Builder |
addPathMatchersBuilder()
The list of named PathMatchers to use against the URL.
|
PathMatcher.Builder |
addPathMatchersBuilder(int index)
The list of named PathMatchers to use against the URL.
|
UrlMap.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UrlMap.Builder |
addTests(int index,
UrlMapTest.Builder builderForValue)
The list of expected URL mapping tests.
|
UrlMap.Builder |
addTests(int index,
UrlMapTest value)
The list of expected URL mapping tests.
|
UrlMap.Builder |
addTests(UrlMapTest.Builder builderForValue)
The list of expected URL mapping tests.
|
UrlMap.Builder |
addTests(UrlMapTest value)
The list of expected URL mapping tests.
|
UrlMapTest.Builder |
addTestsBuilder()
The list of expected URL mapping tests.
|
UrlMapTest.Builder |
addTestsBuilder(int index)
The list of expected URL mapping tests.
|
UrlMap |
build() |
UrlMap |
buildPartial() |
UrlMap.Builder |
clear() |
UrlMap.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
UrlMap.Builder |
clearDefaultRouteAction()
defaultRouteAction takes effect when none of the hostRules match.
|
UrlMap.Builder |
clearDefaultService()
The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match.
|
UrlMap.Builder |
clearDefaultUrlRedirect()
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.
|
UrlMap.Builder |
clearDescription()
An optional description of this resource.
|
UrlMap.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UrlMap.Builder |
clearFingerprint()
Fingerprint of this resource.
|
UrlMap.Builder |
clearHeaderAction()
Specifies changes to request and response headers that need to take effect for the selected backendService.
|
UrlMap.Builder |
clearHostRules()
The list of host rules to use against the URL.
|
UrlMap.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
UrlMap.Builder |
clearKind()
[Output Only] Type of the resource.
|
UrlMap.Builder |
clearName()
Name of the resource.
|
UrlMap.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UrlMap.Builder |
clearPathMatchers()
The list of named PathMatchers to use against the URL.
|
UrlMap.Builder |
clearRegion()
[Output Only] URL of the region where the regional URL map resides.
|
UrlMap.Builder |
clearSelfLink()
[Output Only] Server-defined URL for the resource.
|
UrlMap.Builder |
clearTests()
The list of expected URL mapping tests.
|
UrlMap.Builder |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
UrlMap |
getDefaultInstanceForType() |
HttpRouteAction |
getDefaultRouteAction()
defaultRouteAction takes effect when none of the hostRules match.
|
HttpRouteAction.Builder |
getDefaultRouteActionBuilder()
defaultRouteAction takes effect when none of the hostRules match.
|
HttpRouteActionOrBuilder |
getDefaultRouteActionOrBuilder()
defaultRouteAction takes effect when none of the hostRules match.
|
String |
getDefaultService()
The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match.
|
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.
|
HttpRedirectAction |
getDefaultUrlRedirect()
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.
|
HttpRedirectAction.Builder |
getDefaultUrlRedirectBuilder()
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.
|
HttpRedirectActionOrBuilder |
getDefaultUrlRedirectOrBuilder()
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.
|
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFingerprint()
Fingerprint of this resource.
|
com.google.protobuf.ByteString |
getFingerprintBytes()
Fingerprint of this resource.
|
HttpHeaderAction |
getHeaderAction()
Specifies changes to request and response headers that need to take effect for the selected backendService.
|
HttpHeaderAction.Builder |
getHeaderActionBuilder()
Specifies changes to request and response headers that need to take effect for the selected backendService.
|
HttpHeaderActionOrBuilder |
getHeaderActionOrBuilder()
Specifies changes to request and response headers that need to take effect for the selected backendService.
|
HostRule |
getHostRules(int index)
The list of host rules to use against the URL.
|
HostRule.Builder |
getHostRulesBuilder(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.
|
int |
getHostRulesCount()
The list of host rules to use against the URL.
|
List<HostRule> |
getHostRulesList()
The list of host rules to use against the URL.
|
HostRuleOrBuilder |
getHostRulesOrBuilder(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.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
PathMatcher |
getPathMatchers(int index)
The list of named PathMatchers to use against the URL.
|
PathMatcher.Builder |
getPathMatchersBuilder(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.
|
int |
getPathMatchersCount()
The list of named PathMatchers to use against the URL.
|
List<PathMatcher> |
getPathMatchersList()
The list of named PathMatchers to use against the URL.
|
PathMatcherOrBuilder |
getPathMatchersOrBuilder(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.
|
String |
getRegion()
[Output Only] URL of the region where the regional URL map resides.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] URL of the region where the regional URL map resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
UrlMapTest |
getTests(int index)
The list of expected URL mapping tests.
|
UrlMapTest.Builder |
getTestsBuilder(int index)
The list of expected URL mapping tests.
|
List<UrlMapTest.Builder> |
getTestsBuilderList()
The list of expected URL mapping tests.
|
int |
getTestsCount()
The list of expected URL mapping tests.
|
List<UrlMapTest> |
getTestsList()
The list of expected URL mapping tests.
|
UrlMapTestOrBuilder |
getTestsOrBuilder(int index)
The list of expected URL mapping tests.
|
List<? extends UrlMapTestOrBuilder> |
getTestsOrBuilderList()
The list of expected URL mapping tests.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDefaultRouteAction()
defaultRouteAction takes effect when none of the hostRules match.
|
boolean |
hasDefaultService()
The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match.
|
boolean |
hasDefaultUrlRedirect()
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasFingerprint()
Fingerprint of this resource.
|
boolean |
hasHeaderAction()
Specifies changes to request and response headers that need to take effect for the selected backendService.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasRegion()
[Output Only] URL of the region where the regional URL map resides.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UrlMap.Builder |
mergeDefaultRouteAction(HttpRouteAction value)
defaultRouteAction takes effect when none of the hostRules match.
|
UrlMap.Builder |
mergeDefaultUrlRedirect(HttpRedirectAction value)
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.
|
UrlMap.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UrlMap.Builder |
mergeFrom(com.google.protobuf.Message other) |
UrlMap.Builder |
mergeFrom(UrlMap other) |
UrlMap.Builder |
mergeHeaderAction(HttpHeaderAction value)
Specifies changes to request and response headers that need to take effect for the selected backendService.
|
UrlMap.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UrlMap.Builder |
removeHostRules(int index)
The list of host rules to use against the URL.
|
UrlMap.Builder |
removePathMatchers(int index)
The list of named PathMatchers to use against the URL.
|
UrlMap.Builder |
removeTests(int index)
The list of expected URL mapping tests.
|
UrlMap.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
UrlMap.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
UrlMap.Builder |
setDefaultRouteAction(HttpRouteAction.Builder builderForValue)
defaultRouteAction takes effect when none of the hostRules match.
|
UrlMap.Builder |
setDefaultRouteAction(HttpRouteAction value)
defaultRouteAction takes effect when none of the hostRules match.
|
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.
|
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.
|
UrlMap.Builder |
setDefaultUrlRedirect(HttpRedirectAction.Builder builderForValue)
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.
|
UrlMap.Builder |
setDefaultUrlRedirect(HttpRedirectAction value)
When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.
|
UrlMap.Builder |
setDescription(String value)
An optional description of this resource.
|
UrlMap.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
UrlMap.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UrlMap.Builder |
setFingerprint(String value)
Fingerprint of this resource.
|
UrlMap.Builder |
setFingerprintBytes(com.google.protobuf.ByteString value)
Fingerprint of this resource.
|
UrlMap.Builder |
setHeaderAction(HttpHeaderAction.Builder builderForValue)
Specifies changes to request and response headers that need to take effect for the selected backendService.
|
UrlMap.Builder |
setHeaderAction(HttpHeaderAction value)
Specifies changes to request and response headers that need to take effect for the selected backendService.
|
UrlMap.Builder |
setHostRules(int index,
HostRule.Builder builderForValue)
The list of host rules to use against the URL.
|
UrlMap.Builder |
setHostRules(int index,
HostRule value)
The list of host rules to use against the URL.
|
UrlMap.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
UrlMap.Builder |
setKind(String value)
[Output Only] Type of the resource.
|
UrlMap.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.
|
UrlMap.Builder |
setName(String value)
Name of the resource.
|
UrlMap.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.
|
UrlMap.Builder |
setPathMatchers(int index,
PathMatcher.Builder builderForValue)
The list of named PathMatchers to use against the URL.
|
UrlMap.Builder |
setPathMatchers(int index,
PathMatcher value)
The list of named PathMatchers to use against the URL.
|
UrlMap.Builder |
setRegion(String value)
[Output Only] URL of the region where the regional URL map resides.
|
UrlMap.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the regional URL map resides.
|
UrlMap.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UrlMap.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
|
UrlMap.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
|
UrlMap.Builder |
setTests(int index,
UrlMapTest.Builder builderForValue)
The list of expected URL mapping tests.
|
UrlMap.Builder |
setTests(int index,
UrlMapTest value)
The list of expected URL mapping tests.
|
UrlMap.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>public UrlMap.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UrlMap.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<UrlMap.Builder>public UrlMap getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UrlMap build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UrlMap buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UrlMap.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>public UrlMap.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<UrlMap.Builder>public UrlMap.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>public UrlMap.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>public UrlMap.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<UrlMap.Builder>public UrlMap.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<UrlMap.Builder>public UrlMap.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UrlMap.Builder>public UrlMap.Builder mergeFrom(UrlMap other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>public UrlMap.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<UrlMap.Builder>IOExceptionpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface UrlMapOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface UrlMapOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface UrlMapOrBuilderpublic UrlMap.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public UrlMap.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public UrlMap.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.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;
hasDefaultRouteAction in interface UrlMapOrBuilderpublic 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;
getDefaultRouteAction in interface UrlMapOrBuilderpublic 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;
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;
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;
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;
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;
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;
getDefaultRouteActionOrBuilder in interface UrlMapOrBuilderpublic 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;hasDefaultService in interface UrlMapOrBuilderpublic 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;getDefaultService in interface UrlMapOrBuilderpublic 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;getDefaultServiceBytes in interface UrlMapOrBuilderpublic 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;value - The defaultService to set.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;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;value - The bytes for defaultService to set.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;
hasDefaultUrlRedirect in interface UrlMapOrBuilderpublic 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;
getDefaultUrlRedirect in interface UrlMapOrBuilderpublic 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;
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;
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;
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;
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;
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;
getDefaultUrlRedirectOrBuilder in interface UrlMapOrBuilderpublic boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface UrlMapOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface UrlMapOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface UrlMapOrBuilderpublic UrlMap.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public UrlMap.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;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;value - The bytes for description to set.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;hasFingerprint in interface UrlMapOrBuilderpublic 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;getFingerprint in interface UrlMapOrBuilderpublic 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;getFingerprintBytes in interface UrlMapOrBuilderpublic 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;value - The fingerprint to set.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;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;value - The bytes for fingerprint to set.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;hasHeaderAction in interface UrlMapOrBuilderpublic 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;getHeaderAction in interface UrlMapOrBuilderpublic 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;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;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;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;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;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;getHeaderActionOrBuilder in interface UrlMapOrBuilderpublic List<HostRule> getHostRulesList()
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;getHostRulesList in interface UrlMapOrBuilderpublic int getHostRulesCount()
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;getHostRulesCount in interface UrlMapOrBuilderpublic HostRule getHostRules(int index)
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;getHostRules in interface UrlMapOrBuilderpublic 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;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;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;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;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;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;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;public UrlMap.Builder clearHostRules()
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;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;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;public HostRuleOrBuilder getHostRulesOrBuilder(int index)
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;getHostRulesOrBuilder in interface UrlMapOrBuilderpublic List<? extends HostRuleOrBuilder> getHostRulesOrBuilderList()
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;getHostRulesOrBuilderList in interface UrlMapOrBuilderpublic HostRule.Builder addHostRulesBuilder()
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;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;public List<HostRule.Builder> getHostRulesBuilderList()
The list of host rules to use against the URL.
repeated .google.cloud.compute.v1.HostRule host_rules = 311804832;public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface UrlMapOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface UrlMapOrBuilderpublic UrlMap.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public UrlMap.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public boolean hasKind()
[Output Only] Type of the resource. Always compute#urlMaps for url maps.
optional string kind = 3292052;hasKind in interface UrlMapOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#urlMaps for url maps.
optional string kind = 3292052;getKind in interface UrlMapOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#urlMaps for url maps.
optional string kind = 3292052;getKindBytes in interface UrlMapOrBuilderpublic UrlMap.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#urlMaps for url maps.
optional string kind = 3292052;value - The kind to set.public UrlMap.Builder clearKind()
[Output Only] Type of the resource. Always compute#urlMaps for url maps.
optional string kind = 3292052;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;value - The bytes for kind to set.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;hasName in interface UrlMapOrBuilderpublic 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;getName in interface UrlMapOrBuilderpublic 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;getNameBytes in interface UrlMapOrBuilderpublic 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;value - The name to set.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;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;value - The bytes for name to set.public List<PathMatcher> getPathMatchersList()
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;getPathMatchersList in interface UrlMapOrBuilderpublic int getPathMatchersCount()
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;getPathMatchersCount in interface UrlMapOrBuilderpublic PathMatcher getPathMatchers(int index)
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;getPathMatchers in interface UrlMapOrBuilderpublic 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;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;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;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;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;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;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;public UrlMap.Builder clearPathMatchers()
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;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;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;public PathMatcherOrBuilder getPathMatchersOrBuilder(int index)
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;getPathMatchersOrBuilder in interface UrlMapOrBuilderpublic List<? extends PathMatcherOrBuilder> getPathMatchersOrBuilderList()
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;getPathMatchersOrBuilderList in interface UrlMapOrBuilderpublic PathMatcher.Builder addPathMatchersBuilder()
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;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;public List<PathMatcher.Builder> getPathMatchersBuilderList()
The list of named PathMatchers to use against the URL.
repeated .google.cloud.compute.v1.PathMatcher path_matchers = 271664219;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;hasRegion in interface UrlMapOrBuilderpublic 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;getRegion in interface UrlMapOrBuilderpublic 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;getRegionBytes in interface UrlMapOrBuilderpublic 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;value - The region to set.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;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;value - The bytes for region to set.public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface UrlMapOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface UrlMapOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface UrlMapOrBuilderpublic UrlMap.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public UrlMap.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public UrlMap.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.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;getTestsList in interface UrlMapOrBuilderpublic 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;getTestsCount in interface UrlMapOrBuilderpublic 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;getTests in interface UrlMapOrBuilderpublic 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;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;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;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;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;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;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;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;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;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;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;getTestsOrBuilder in interface UrlMapOrBuilderpublic 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;getTestsOrBuilderList in interface UrlMapOrBuilderpublic 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;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;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;public final UrlMap.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>public final UrlMap.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>Copyright © 2023 Google LLC. All rights reserved.