public static final class Cluster.NetworkConfig extends GeneratedMessageV3 implements Cluster.NetworkConfigOrBuilder
Metadata related to network configuration.
Protobuf type google.cloud.alloydb.v1alpha.Cluster.NetworkConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ALLOCATED_IP_RANGE_FIELD_NUMBER
public static final int ALLOCATED_IP_RANGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Cluster.NetworkConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Cluster.NetworkConfig.Builder newBuilder()
newBuilder(Cluster.NetworkConfig prototype)
public static Cluster.NetworkConfig.Builder newBuilder(Cluster.NetworkConfig prototype)
public static Cluster.NetworkConfig parseDelimitedFrom(InputStream input)
public static Cluster.NetworkConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Cluster.NetworkConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Cluster.NetworkConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Cluster.NetworkConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Cluster.NetworkConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Cluster.NetworkConfig parseFrom(CodedInputStream input)
public static Cluster.NetworkConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Cluster.NetworkConfig parseFrom(InputStream input)
public static Cluster.NetworkConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Cluster.NetworkConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Cluster.NetworkConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Cluster.NetworkConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAllocatedIpRange()
public String getAllocatedIpRange()
Optional. The name of the allocated IP range for the private IP AlloyDB
cluster. For example: "google-managed-services-default". If set, the
instance IPs for this cluster will be created in the allocated range. The
range name must comply with RFC 1035. Specifically, the name must be 1-63
characters long and match the regular expression
a-z?.
Field name is intended to be consistent with CloudSQL.
string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The allocatedIpRange.
|
getAllocatedIpRangeBytes()
public ByteString getAllocatedIpRangeBytes()
Optional. The name of the allocated IP range for the private IP AlloyDB
cluster. For example: "google-managed-services-default". If set, the
instance IPs for this cluster will be created in the allocated range. The
range name must comply with RFC 1035. Specifically, the name must be 1-63
characters long and match the regular expression
a-z?.
Field name is intended to be consistent with CloudSQL.
string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for allocatedIpRange.
|
getDefaultInstanceForType()
public Cluster.NetworkConfig getDefaultInstanceForType()
getNetwork()
public String getNetwork()
Required. The resource link for the VPC network in which cluster
resources are created and from which they are accessible via Private IP.
The network must belong to the same project as the cluster. It is
specified in the form:
"projects/{project_number}/global/networks/{network_id}". This is
required to create a cluster. It can be updated, but it cannot be
removed.
string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The network.
|
getNetworkBytes()
public ByteString getNetworkBytes()
Required. The resource link for the VPC network in which cluster
resources are created and from which they are accessible via Private IP.
The network must belong to the same project as the cluster. It is
specified in the form:
"projects/{project_number}/global/networks/{network_id}". This is
required to create a cluster. It can be updated, but it cannot be
removed.
string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for network.
|
getParserForType()
public Parser<Cluster.NetworkConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Cluster.NetworkConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Cluster.NetworkConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Cluster.NetworkConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides