public static final class NetworkConfig.Consumer extends GeneratedMessageV3 implements NetworkConfig.ConsumerOrBuilder
Contains information of the customer's network configurations.
Protobuf type google.cloud.metastore.v1alpha.NetworkConfig.Consumer
Static Fields
public static final int ENDPOINT_URI_FIELD_NUMBER
Field Value
public static final int SUBNETWORK_FIELD_NUMBER
Field Value
Static Methods
public static NetworkConfig.Consumer getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static NetworkConfig.Consumer.Builder newBuilder()
Returns
public static NetworkConfig.Consumer.Builder newBuilder(NetworkConfig.Consumer prototype)
Parameter
Returns
public static NetworkConfig.Consumer parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static NetworkConfig.Consumer parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkConfig.Consumer parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static NetworkConfig.Consumer parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkConfig.Consumer parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static NetworkConfig.Consumer parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkConfig.Consumer parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static NetworkConfig.Consumer parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkConfig.Consumer parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static NetworkConfig.Consumer parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkConfig.Consumer parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static NetworkConfig.Consumer parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<NetworkConfig.Consumer> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public NetworkConfig.Consumer getDefaultInstanceForType()
Returns
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.
|
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.
|
public Parser<NetworkConfig.Consumer> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
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.
|
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.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public NetworkConfig.Consumer.VpcResourceCase getVpcResourceCase()
Returns
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public NetworkConfig.Consumer.Builder newBuilderForType()
Returns
protected NetworkConfig.Consumer.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public NetworkConfig.Consumer.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions