- 1.86.0 (latest)
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class RoutePolicy.Builder extends GeneratedMessageV3.Builder<RoutePolicy.Builder> implements RoutePolicyOrBuilder Protobuf type google.cloud.compute.v1.RoutePolicy
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RoutePolicy.BuilderImplements
RoutePolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllTerms(Iterable<? extends RoutePolicyPolicyTerm> values)
public RoutePolicy.Builder addAllTerms(Iterable<? extends RoutePolicyPolicyTerm> values)List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
repeated .google.cloud.compute.v1.RoutePolicyPolicyTerm terms = 110250375;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.RoutePolicyPolicyTerm> |
| Returns | |
|---|---|
| Type | Description |
RoutePolicy.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RoutePolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
RoutePolicy.Builder |
|
addTerms(RoutePolicyPolicyTerm value)
public RoutePolicy.Builder addTerms(RoutePolicyPolicyTerm value)List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
repeated .google.cloud.compute.v1.RoutePolicyPolicyTerm terms = 110250375;
| Parameter | |
|---|---|
| Name | Description |
value |
RoutePolicyPolicyTerm |
| Returns | |
|---|---|
| Type | Description |
RoutePolicy.Builder |
|
addTerms(RoutePolicyPolicyTerm.Builder builderForValue)
public RoutePolicy.Builder addTerms(RoutePolicyPolicyTerm.Builder builderForValue)List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
repeated .google.cloud.compute.v1.RoutePolicyPolicyTerm terms = 110250375;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RoutePolicyPolicyTerm.Builder |
| Returns | |
|---|---|
| Type | Description |
RoutePolicy.Builder |
|
addTerms(int index, RoutePolicyPolicyTerm value)
public RoutePolicy.Builder addTerms(int index, RoutePolicyPolicyTerm value)List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
repeated .google.cloud.compute.v1.RoutePolicyPolicyTerm terms = 110250375;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RoutePolicyPolicyTerm |
| Returns | |
|---|---|
| Type | Description |
RoutePolicy.Builder |
|
addTerms(int index, RoutePolicyPolicyTerm.Builder builderForValue)
public RoutePolicy.Builder addTerms(int index, RoutePolicyPolicyTerm.Builder builderForValue)List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
repeated .google.cloud.compute.v1.RoutePolicyPolicyTerm terms = 110250375;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RoutePolicyPolicyTerm.Builder |
| Returns | |
|---|---|
| Type | Description |
RoutePolicy.Builder |
|
addTermsBuilder()
public RoutePolicyPolicyTerm.Builder addTermsBuilder()List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
repeated .google.cloud.compute.v1.RoutePolicyPolicyTerm terms = 110250375;
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
addTermsBuilder(int index)
public RoutePolicyPolicyTerm.Builder addTermsBuilder(int index)List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
repeated .google.cloud.compute.v1.RoutePolicyPolicyTerm terms = 110250375;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
build()
public RoutePolicy build()| Returns | |
|---|---|
| Type | Description |
RoutePolicy |
|
buildPartial()
public RoutePolicy buildPartial()| Returns | |
|---|---|
| Type | Description |
RoutePolicy |
|
clear()
public RoutePolicy.Builder clear()| Returns | |
|---|---|
| Type | Description |
RoutePolicy.Builder |
|
clearDescription()
public RoutePolicy.Builder clearDescription()An optional description of route policy.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
RoutePolicy.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RoutePolicy.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
RoutePolicy.Builder |
|
clearFingerprint()
public RoutePolicy.Builder clearFingerprint()A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make a getRoutePolicy() request to retrieve a Route Policy.
optional string fingerprint = 234678500;
| Returns | |
|---|---|
| Type | Description |
RoutePolicy.Builder |
This builder for chaining. |
clearName()
public RoutePolicy.Builder clearName()Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies. Name should conform to RFC1035.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
RoutePolicy.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RoutePolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
RoutePolicy.Builder |
|
clearTerms()
public RoutePolicy.Builder clearTerms()List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
repeated .google.cloud.compute.v1.RoutePolicyPolicyTerm terms = 110250375;
| Returns | |
|---|---|
| Type | Description |
RoutePolicy.Builder |
|
clearType()
public RoutePolicy.Builder clearType()Check the Type enum for the list of possible values.
optional string type = 3575610;
| Returns | |
|---|---|
| Type | Description |
RoutePolicy.Builder |
This builder for chaining. |
clone()
public RoutePolicy.Builder clone()| Returns | |
|---|---|
| Type | Description |
RoutePolicy.Builder |
|
getDefaultInstanceForType()
public RoutePolicy getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RoutePolicy |
|
getDescription()
public String getDescription()An optional description of route policy.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()An optional description of route policy.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFingerprint()
public String getFingerprint()A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make a getRoutePolicy() request to retrieve a Route Policy.
optional string fingerprint = 234678500;
| Returns | |
|---|---|
| Type | Description |
String |
The fingerprint. |
getFingerprintBytes()
public ByteString getFingerprintBytes()A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make a getRoutePolicy() request to retrieve a Route Policy.
optional string fingerprint = 234678500;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for fingerprint. |
getName()
public String getName()Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies. Name should conform to RFC1035.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies. Name should conform to RFC1035.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getTerms(int index)
public RoutePolicyPolicyTerm getTerms(int index)List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
repeated .google.cloud.compute.v1.RoutePolicyPolicyTerm terms = 110250375;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm |
|
getTermsBuilder(int index)
public RoutePolicyPolicyTerm.Builder getTermsBuilder(int index)List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
repeated .google.cloud.compute.v1.RoutePolicyPolicyTerm terms = 110250375;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RoutePolicyPolicyTerm.Builder |
|
getTermsBuilderList()