public static final class Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder extends GeneratedMessageV3.Builder<Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder> implements Instance.InstanceNetworkConfig.AuthorizedNetworkOrBuilder
AuthorizedNetwork contains metadata for an authorized network.
Protobuf type
google.cloud.alloydb.v1.Instance.InstanceNetworkConfig.AuthorizedNetwork
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Instance.InstanceNetworkConfig.AuthorizedNetwork.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder |
build()
public Instance.InstanceNetworkConfig.AuthorizedNetwork build()
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork |
buildPartial()
public Instance.InstanceNetworkConfig.AuthorizedNetwork buildPartial()
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork |
clear()
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder clear()
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder |
clearCidrRange()
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder clearCidrRange()
CIDR range for one authorzied network of the instance.
string cidr_range = 1 [(.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder |
clone()
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder clone()
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder |
getCidrRange()
public String getCidrRange()
CIDR range for one authorzied network of the instance.
string cidr_range = 1 [(.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
String |
The cidrRange. |
getCidrRangeBytes()
public ByteString getCidrRangeBytes()
CIDR range for one authorzied network of the instance.
string cidr_range = 1 [(.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cidrRange. |
getDefaultInstanceForType()
public Instance.InstanceNetworkConfig.AuthorizedNetwork getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Instance.InstanceNetworkConfig.AuthorizedNetwork other)
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder mergeFrom(Instance.InstanceNetworkConfig.AuthorizedNetwork other)
Parameter | |
---|---|
Name | Description |
other |
Instance.InstanceNetworkConfig.AuthorizedNetwork |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder |
setCidrRange(String value)
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder setCidrRange(String value)
CIDR range for one authorzied network of the instance.
string cidr_range = 1 [(.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The cidrRange to set. |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder |
This builder for chaining. |
setCidrRangeBytes(ByteString value)
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder setCidrRangeBytes(ByteString value)
CIDR range for one authorzied network of the instance.
string cidr_range = 1 [(.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for cidrRange to set. |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Instance.InstanceNetworkConfig.AuthorizedNetwork.Builder |