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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ChannelConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ChannelConfig build()
buildPartial()
public ChannelConfig buildPartial()
clear()
public ChannelConfig.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public ChannelConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ChannelConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ChannelConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public ChannelConfig getDefaultInstanceForType()
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()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ChannelConfig other)
public ChannelConfig.Builder mergeFrom(ChannelConfig other)
public ChannelConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ChannelConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ChannelConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ChannelConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ChannelConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ChannelConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides