Class ChannelConfig.Builder (0.52.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ChannelConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ChannelConfig.Builder
Overrides

build()

public ChannelConfig build()
Returns
Type Description
ChannelConfig

buildPartial()

public ChannelConfig buildPartial()
Returns
Type Description
ChannelConfig

clear()

public ChannelConfig.Builder clear()
Returns
Type Description
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
Type Description
ChannelConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ChannelConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ChannelConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ChannelConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ChannelConfig.Builder
Overrides

clone()

public ChannelConfig.Builder clone()
Returns
Type Description
ChannelConfig.Builder
Overrides

getDefaultInstanceForType()

public ChannelConfig getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for defaultVersion.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ChannelConfig other)

public ChannelConfig.Builder mergeFrom(ChannelConfig other)
Parameter
Name Description
other ChannelConfig
Returns
Type Description
ChannelConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ChannelConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ChannelConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ChannelConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ChannelConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The defaultVersion to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for defaultVersion to set.

Returns
Type Description
ChannelConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ChannelConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ChannelConfig.Builder
Overrides

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

public ChannelConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ChannelConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ChannelConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ChannelConfig.Builder
Overrides