Class ChannelConfig.Builder (0.37.0)

public static final class ChannelConfig.Builder extends GeneratedMessageV3.Builder<ChannelConfig.Builder> implements ChannelConfigOrBuilder

Configuration for a release channel.

Protobuf type google.cloud.edgecontainer.v1.ChannelConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ChannelConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ChannelConfig.Builder
Overrides

build()

public ChannelConfig build()
Returns
TypeDescription
ChannelConfig

buildPartial()

public ChannelConfig buildPartial()
Returns
TypeDescription
ChannelConfig

clear()

public ChannelConfig.Builder clear()
Returns
TypeDescription
ChannelConfig.Builder
Overrides

clearDefaultVersion()

public ChannelConfig.Builder clearDefaultVersion()

Output only. Default version for this release channel, e.g.: "1.4.0".

string default_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ChannelConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ChannelConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ChannelConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ChannelConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ChannelConfig.Builder
Overrides

clone()

public ChannelConfig.Builder clone()
Returns
TypeDescription
ChannelConfig.Builder
Overrides

getDefaultInstanceForType()

public ChannelConfig getDefaultInstanceForType()
Returns
TypeDescription
ChannelConfig

getDefaultVersion()

public String getDefaultVersion()

Output only. Default version for this release channel, e.g.: "1.4.0".

string default_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The defaultVersion.

getDefaultVersionBytes()

public ByteString getDefaultVersionBytes()

Output only. Default version for this release channel, e.g.: "1.4.0".

string default_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for defaultVersion.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ChannelConfig other)

public ChannelConfig.Builder mergeFrom(ChannelConfig other)
Parameter
NameDescription
otherChannelConfig
Returns
TypeDescription
ChannelConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ChannelConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChannelConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ChannelConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ChannelConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ChannelConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ChannelConfig.Builder
Overrides

setDefaultVersion(String value)

public ChannelConfig.Builder setDefaultVersion(String value)

Output only. Default version for this release channel, e.g.: "1.4.0".

string default_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The defaultVersion to set.

Returns
TypeDescription
ChannelConfig.Builder

This builder for chaining.

setDefaultVersionBytes(ByteString value)

public ChannelConfig.Builder setDefaultVersionBytes(ByteString value)

Output only. Default version for this release channel, e.g.: "1.4.0".

string default_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for defaultVersion to set.

Returns
TypeDescription
ChannelConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ChannelConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ChannelConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ChannelConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ChannelConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ChannelConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ChannelConfig.Builder
Overrides