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.events.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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.events.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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
getDestinationsCount()
public int getDestinationsCount()
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
repeated .google.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
Returns |
Type |
Description |
List<? extends com.google.events.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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
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.events.cloud.networkservices.v1.TlsRoute.RouteDestination destinations = 1;
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