Class NetworkConfig.Consumer (2.47.0)

public static final class NetworkConfig.Consumer extends GeneratedMessageV3 implements NetworkConfig.ConsumerOrBuilder

Contains information of the customer's network configurations.

Next available ID: 5

Protobuf type google.cloud.metastore.v1alpha.NetworkConfig.Consumer

Static Fields

ENDPOINT_LOCATION_FIELD_NUMBER

public static final int ENDPOINT_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

ENDPOINT_URI_FIELD_NUMBER

public static final int ENDPOINT_URI_FIELD_NUMBER
Field Value
Type Description
int

SUBNETWORK_FIELD_NUMBER

public static final int SUBNETWORK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NetworkConfig.Consumer getDefaultInstance()
Returns
Type Description
NetworkConfig.Consumer

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static NetworkConfig.Consumer.Builder newBuilder()
Returns
Type Description
NetworkConfig.Consumer.Builder

newBuilder(NetworkConfig.Consumer prototype)

public static NetworkConfig.Consumer.Builder newBuilder(NetworkConfig.Consumer prototype)
Parameter
Name Description
prototype NetworkConfig.Consumer
Returns
Type Description
NetworkConfig.Consumer.Builder

parseDelimitedFrom(InputStream input)

public static NetworkConfig.Consumer parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkConfig.Consumer
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkConfig.Consumer parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig.Consumer
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NetworkConfig.Consumer parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NetworkConfig.Consumer
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NetworkConfig.Consumer parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig.Consumer
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NetworkConfig.Consumer parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NetworkConfig.Consumer
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NetworkConfig.Consumer parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig.Consumer
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NetworkConfig.Consumer parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NetworkConfig.Consumer
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkConfig.Consumer parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig.Consumer
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NetworkConfig.Consumer parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkConfig.Consumer
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkConfig.Consumer parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig.Consumer
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NetworkConfig.Consumer parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NetworkConfig.Consumer
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NetworkConfig.Consumer parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkConfig.Consumer
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NetworkConfig.Consumer> parser()
Returns
Type Description
Parser<Consumer>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public NetworkConfig.Consumer getDefaultInstanceForType()
Returns
Type Description
NetworkConfig.Consumer

getEndpointLocation()

public String getEndpointLocation()

Output only. The location of the endpoint URI. Format: projects/{project}/locations/{location}.

string endpoint_location = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The endpointLocation.

getEndpointLocationBytes()

public ByteString getEndpointLocationBytes()

Output only. The location of the endpoint URI. Format: projects/{project}/locations/{location}.

string endpoint_location = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for endpointLocation.

getEndpointUri()

public String getEndpointUri()

Output only. The URI of the endpoint used to access the metastore service.

string endpoint_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The endpointUri.

getEndpointUriBytes()

public ByteString getEndpointUriBytes()

Output only. The URI of the endpoint used to access the metastore service.

string endpoint_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for endpointUri.

getParserForType()

public Parser<NetworkConfig.Consumer> getParserForType()
Returns
Type Description
Parser<Consumer>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubnetwork()

public String getSubnetwork()

Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:

projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}

string subnetwork = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The subnetwork.

getSubnetworkBytes()

public ByteString getSubnetworkBytes()

Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:

projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}

string subnetwork = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for subnetwork.

getVpcResourceCase()

public NetworkConfig.Consumer.VpcResourceCase getVpcResourceCase()
Returns
Type Description
NetworkConfig.Consumer.VpcResourceCase

hasSubnetwork()

public boolean hasSubnetwork()

Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:

projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}

string subnetwork = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the subnetwork field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NetworkConfig.Consumer.Builder newBuilderForType()
Returns
Type Description
NetworkConfig.Consumer.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NetworkConfig.Consumer.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NetworkConfig.Consumer.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NetworkConfig.Consumer.Builder toBuilder()
Returns
Type Description
NetworkConfig.Consumer.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException