public static final class GatewayAPIConfig.Builder extends GeneratedMessageV3.Builder<GatewayAPIConfig.Builder> implements GatewayAPIConfigOrBuilder
GatewayAPIConfig contains the desired config of Gateway API on this cluster.
Protobuf type google.container.v1.GatewayAPIConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GatewayAPIConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GatewayAPIConfig build()
Returns
buildPartial()
public GatewayAPIConfig buildPartial()
Returns
clear()
public GatewayAPIConfig.Builder clear()
Returns
Overrides
clearChannel()
public GatewayAPIConfig.Builder clearChannel()
The Gateway API release channel to use for Gateway API.
.google.container.v1.GatewayAPIConfig.Channel channel = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public GatewayAPIConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GatewayAPIConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public GatewayAPIConfig.Builder clone()
Returns
Overrides
getChannel()
public GatewayAPIConfig.Channel getChannel()
The Gateway API release channel to use for Gateway API.
.google.container.v1.GatewayAPIConfig.Channel channel = 1;
Returns
getChannelValue()
public int getChannelValue()
The Gateway API release channel to use for Gateway API.
.google.container.v1.GatewayAPIConfig.Channel channel = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for channel.
|
getDefaultInstanceForType()
public GatewayAPIConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GatewayAPIConfig other)
public GatewayAPIConfig.Builder mergeFrom(GatewayAPIConfig other)
Parameter
Returns
public GatewayAPIConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GatewayAPIConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GatewayAPIConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setChannel(GatewayAPIConfig.Channel value)
public GatewayAPIConfig.Builder setChannel(GatewayAPIConfig.Channel value)
The Gateway API release channel to use for Gateway API.
.google.container.v1.GatewayAPIConfig.Channel channel = 1;
Parameter
Returns
setChannelValue(int value)
public GatewayAPIConfig.Builder setChannelValue(int value)
The Gateway API release channel to use for Gateway API.
.google.container.v1.GatewayAPIConfig.Channel channel = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for channel to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public GatewayAPIConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GatewayAPIConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GatewayAPIConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides