public static final class MasterAuthorizedNetworksConfig.CidrBlock.Builder extends GeneratedMessageV3.Builder<MasterAuthorizedNetworksConfig.CidrBlock.Builder> implements MasterAuthorizedNetworksConfig.CidrBlockOrBuilder
CidrBlock contains an optional name and one CIDR block.
Protobuf type google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock
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 MasterAuthorizedNetworksConfig.CidrBlock.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MasterAuthorizedNetworksConfig.CidrBlock build()
Returns
buildPartial()
public MasterAuthorizedNetworksConfig.CidrBlock buildPartial()
Returns
clear()
public MasterAuthorizedNetworksConfig.CidrBlock.Builder clear()
Returns
Overrides
clearCidrBlock()
public MasterAuthorizedNetworksConfig.CidrBlock.Builder clearCidrBlock()
cidr_block must be specified in CIDR notation.
string cidr_block = 2;
Returns
clearDisplayName()
public MasterAuthorizedNetworksConfig.CidrBlock.Builder clearDisplayName()
display_name is an optional field for users to identify CIDR blocks.
string display_name = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public MasterAuthorizedNetworksConfig.CidrBlock.Builder clone()
Returns
Overrides
getCidrBlock()
public String getCidrBlock()
cidr_block must be specified in CIDR notation.
string cidr_block = 2;
Returns
Type | Description |
String | The cidrBlock.
|
getCidrBlockBytes()
public ByteString getCidrBlockBytes()
cidr_block must be specified in CIDR notation.
string cidr_block = 2;
Returns
getDefaultInstanceForType()
public MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDisplayName()
public String getDisplayName()
display_name is an optional field for users to identify CIDR blocks.
string display_name = 1;
Returns
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
display_name is an optional field for users to identify CIDR blocks.
string display_name = 1;
Returns
Type | Description |
ByteString | The bytes for displayName.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(MasterAuthorizedNetworksConfig.CidrBlock other)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder mergeFrom(MasterAuthorizedNetworksConfig.CidrBlock other)
Parameter
Returns
public MasterAuthorizedNetworksConfig.CidrBlock.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MasterAuthorizedNetworksConfig.CidrBlock.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCidrBlock(String value)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder setCidrBlock(String value)
cidr_block must be specified in CIDR notation.
string cidr_block = 2;
Parameter
Name | Description |
value | String
The cidrBlock to set.
|
Returns
setCidrBlockBytes(ByteString value)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder setCidrBlockBytes(ByteString value)
cidr_block must be specified in CIDR notation.
string cidr_block = 2;
Parameter
Name | Description |
value | ByteString
The bytes for cidrBlock to set.
|
Returns
setDisplayName(String value)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder setDisplayName(String value)
display_name is an optional field for users to identify CIDR blocks.
string display_name = 1;
Parameter
Name | Description |
value | String
The displayName to set.
|
Returns
setDisplayNameBytes(ByteString value)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder setDisplayNameBytes(ByteString value)
display_name is an optional field for users to identify CIDR blocks.
string display_name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for displayName to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MasterAuthorizedNetworksConfig.CidrBlock.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides