public static final class NetworkConfig.Consumer.Builder extends GeneratedMessageV3.Builder<NetworkConfig.Consumer.Builder> implements NetworkConfig.ConsumerOrBuilder
Contains information of the customer's network configurations.
Protobuf type google.cloud.metastore.v1alpha.NetworkConfig.Consumer
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public NetworkConfig.Consumer.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public NetworkConfig.Consumer build()
Returns
public NetworkConfig.Consumer buildPartial()
Returns
public NetworkConfig.Consumer.Builder clear()
Returns
Overrides
public NetworkConfig.Consumer.Builder clearEndpointUri()
Output only. The URI of the endpoint used to access the metastore
service.
string endpoint_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public NetworkConfig.Consumer.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public NetworkConfig.Consumer.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public NetworkConfig.Consumer.Builder clearSubnetwork()
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
public NetworkConfig.Consumer.Builder clearVpcResource()
Returns
public NetworkConfig.Consumer.Builder clone()
Returns
Overrides
public NetworkConfig.Consumer getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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 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 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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public NetworkConfig.Consumer.Builder mergeFrom(NetworkConfig.Consumer other)
Parameter
Returns
public NetworkConfig.Consumer.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public NetworkConfig.Consumer.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final NetworkConfig.Consumer.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public NetworkConfig.Consumer.Builder setEndpointUri(String value)
Output only. The URI of the endpoint used to access the metastore
service.
string endpoint_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | String
The endpointUri to set.
|
Returns
public NetworkConfig.Consumer.Builder setEndpointUriBytes(ByteString value)
Output only. The URI of the endpoint used to access the metastore
service.
string endpoint_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | ByteString
The bytes for endpointUri to set.
|
Returns
public NetworkConfig.Consumer.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public NetworkConfig.Consumer.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public NetworkConfig.Consumer.Builder setSubnetwork(String value)
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) = { ... }
Parameter
Name | Description |
value | String
The subnetwork to set.
|
Returns
public NetworkConfig.Consumer.Builder setSubnetworkBytes(ByteString value)
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) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for subnetwork to set.
|
Returns
public final NetworkConfig.Consumer.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides