Send feedback
Class MasterAuthorizedNetworksConfig.CidrBlock.Builder (0.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.5.0 keyboard_arrow_down
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.cloud.telcoautomation.v1alpha1.MasterAuthorizedNetworksConfig.CidrBlock
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 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 ()
Optional. cidr_block must be specified in CIDR notation when using
master_authorized_networks_config. Currently, the user could still use
the deprecated man_block field, so this field is currently optional, but
will be required in the future.
string cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL];
clearDisplayName()
public MasterAuthorizedNetworksConfig . CidrBlock . Builder clearDisplayName ()
Optional. display_name is an optional field for users to identify CIDR
blocks.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
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 ()
Optional. cidr_block must be specified in CIDR notation when using
master_authorized_networks_config. Currently, the user could still use
the deprecated man_block field, so this field is currently optional, but
will be required in the future.
string cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description String
The cidrBlock.
getCidrBlockBytes()
public ByteString getCidrBlockBytes ()
Optional. cidr_block must be specified in CIDR notation when using
master_authorized_networks_config. Currently, the user could still use
the deprecated man_block field, so this field is currently optional, but
will be required in the future.
string cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description ByteString
The bytes for cidrBlock.
getDefaultInstanceForType()
public MasterAuthorizedNetworksConfig . CidrBlock getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getDisplayName()
public String getDisplayName ()
Optional. display_name is an optional field for users to identify CIDR
blocks.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description String
The displayName.
getDisplayNameBytes()
public ByteString getDisplayNameBytes ()
Optional. display_name is an optional field for users to identify CIDR
blocks.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
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 )
Optional. cidr_block must be specified in CIDR notation when using
master_authorized_networks_config. Currently, the user could still use
the deprecated man_block field, so this field is currently optional, but
will be required in the future.
string cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description value
String
The cidrBlock to set.
setCidrBlockBytes(ByteString value)
public MasterAuthorizedNetworksConfig . CidrBlock . Builder setCidrBlockBytes ( ByteString value )
Optional. cidr_block must be specified in CIDR notation when using
master_authorized_networks_config. Currently, the user could still use
the deprecated man_block field, so this field is currently optional, but
will be required in the future.
string cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description value
ByteString
The bytes for cidrBlock to set.
setDisplayName(String value)
public MasterAuthorizedNetworksConfig . CidrBlock . Builder setDisplayName ( String value )
Optional. display_name is an optional field for users to identify CIDR
blocks.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description value
String
The displayName to set.
setDisplayNameBytes(ByteString value)
public MasterAuthorizedNetworksConfig . CidrBlock . Builder setDisplayNameBytes ( ByteString value )
Optional. display_name is an optional field for users to identify CIDR
blocks.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]