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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MasterAuthorizedNetworksConfig.CidrBlock build()
buildPartial()
public MasterAuthorizedNetworksConfig.CidrBlock buildPartial()
clear()
public MasterAuthorizedNetworksConfig.CidrBlock.Builder clear()
Overrides
clearCidrBlock()
public MasterAuthorizedNetworksConfig.CidrBlock.Builder clearCidrBlock()
cidr_block must be specified in CIDR notation.
string cidr_block = 2;
clearDisplayName()
public MasterAuthorizedNetworksConfig.CidrBlock.Builder clearDisplayName()
display_name is an optional field for users to identify CIDR blocks.
string display_name = 1;
clearField(Descriptors.FieldDescriptor field)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MasterAuthorizedNetworksConfig.CidrBlock.Builder clone()
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 |
---|
Type | Description |
ByteString | The bytes for cidrBlock.
|
getDefaultInstanceForType()
public MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MasterAuthorizedNetworksConfig.CidrBlock other)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder mergeFrom(MasterAuthorizedNetworksConfig.CidrBlock other)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MasterAuthorizedNetworksConfig.CidrBlock.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MasterAuthorizedNetworksConfig.CidrBlock.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides