public static final class TlsRoute.RouteAction.Builder extends GeneratedMessageV3.Builder<TlsRoute.RouteAction.Builder> implements TlsRoute.RouteActionOrBuilder
The specifications for routing traffic and applying associated policies.
Protobuf type google.cloud.networkservices.v1.TlsRoute.RouteAction
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllDestinations(Iterable<? extends TlsRoute.RouteDestination> values)
public TlsRoute.RouteAction.Builder addAllDestinations(Iterable<? extends TlsRoute.RouteDestination> values)
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.networkservices.v1.TlsRoute.RouteDestination>
|
addDestinations(TlsRoute.RouteDestination value)
public TlsRoute.RouteAction.Builder addDestinations(TlsRoute.RouteDestination value)
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
addDestinations(TlsRoute.RouteDestination.Builder builderForValue)
public TlsRoute.RouteAction.Builder addDestinations(TlsRoute.RouteDestination.Builder builderForValue)
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
addDestinations(int index, TlsRoute.RouteDestination value)
public TlsRoute.RouteAction.Builder addDestinations(int index, TlsRoute.RouteDestination value)
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
addDestinations(int index, TlsRoute.RouteDestination.Builder builderForValue)
public TlsRoute.RouteAction.Builder addDestinations(int index, TlsRoute.RouteDestination.Builder builderForValue)
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
addDestinationsBuilder()
public TlsRoute.RouteDestination.Builder addDestinationsBuilder()
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
addDestinationsBuilder(int index)
public TlsRoute.RouteDestination.Builder addDestinationsBuilder(int index)
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TlsRoute.RouteAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TlsRoute.RouteAction build()
buildPartial()
public TlsRoute.RouteAction buildPartial()
clear()
public TlsRoute.RouteAction.Builder clear()
Overrides
clearDestinations()
public TlsRoute.RouteAction.Builder clearDestinations()
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public TlsRoute.RouteAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TlsRoute.RouteAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public TlsRoute.RouteAction.Builder clone()
Overrides
getDefaultInstanceForType()
public TlsRoute.RouteAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDestinations(int index)
public TlsRoute.RouteDestination getDestinations(int index)
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getDestinationsBuilder(int index)
public TlsRoute.RouteDestination.Builder getDestinationsBuilder(int index)
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getDestinationsBuilderList()
public List<TlsRoute.RouteDestination.Builder> getDestinationsBuilderList()
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
getDestinationsCount()
public int getDestinationsCount()
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getDestinationsList()
public List<TlsRoute.RouteDestination> getDestinationsList()
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
getDestinationsOrBuilder(int index)
public TlsRoute.RouteDestinationOrBuilder getDestinationsOrBuilder(int index)
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getDestinationsOrBuilderList()
public List<? extends TlsRoute.RouteDestinationOrBuilder> getDestinationsOrBuilderList()
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.networkservices.v1.TlsRoute.RouteDestinationOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TlsRoute.RouteAction other)
public TlsRoute.RouteAction.Builder mergeFrom(TlsRoute.RouteAction other)
public TlsRoute.RouteAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TlsRoute.RouteAction.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TlsRoute.RouteAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeDestinations(int index)
public TlsRoute.RouteAction.Builder removeDestinations(int index)
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
setDestinations(int index, TlsRoute.RouteDestination value)
public TlsRoute.RouteAction.Builder setDestinations(int index, TlsRoute.RouteDestination value)
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
setDestinations(int index, TlsRoute.RouteDestination.Builder builderForValue)
public TlsRoute.RouteAction.Builder setDestinations(int index, TlsRoute.RouteDestination.Builder builderForValue)
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public TlsRoute.RouteAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TlsRoute.RouteAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TlsRoute.RouteAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides