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()
Methods
public NetworkConfig.Consumer.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public NetworkConfig.Consumer build()
public NetworkConfig.Consumer buildPartial()
public NetworkConfig.Consumer.Builder clear()
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];
public NetworkConfig.Consumer.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public NetworkConfig.Consumer.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
public NetworkConfig.Consumer.Builder clearVpcResource()
public NetworkConfig.Consumer.Builder clone()
Overrides
public NetworkConfig.Consumer getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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()
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()
Overrides
public final boolean isInitialized()
Overrides
public NetworkConfig.Consumer.Builder mergeFrom(NetworkConfig.Consumer other)
public NetworkConfig.Consumer.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public NetworkConfig.Consumer.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final NetworkConfig.Consumer.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
public NetworkConfig.Consumer.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public NetworkConfig.Consumer.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
public final NetworkConfig.Consumer.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides