Class NetworkConfig.Consumer.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NetworkConfig.Consumer.Builder>
com.google.cloud.metastore.v1beta.NetworkConfig.Consumer.Builder
- All Implemented Interfaces:
NetworkConfig.ConsumerOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NetworkConfig.Consumer
public static final class NetworkConfig.Consumer.Builder
extends com.google.protobuf.GeneratedMessage.Builder<NetworkConfig.Consumer.Builder>
implements NetworkConfig.ConsumerOrBuilder
Contains information of the customer's network configurations. Next available ID: 5Protobuf type
google.cloud.metastore.v1beta.NetworkConfig.Consumer-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Immutable.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Immutable.com.google.protobuf.ByteStringImmutable.booleanImmutable.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(NetworkConfig.Consumer other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setEndpointLocation(String value) Output only.setEndpointLocationBytes(com.google.protobuf.ByteString value) Output only.setEndpointUri(String value) Output only.setEndpointUriBytes(com.google.protobuf.ByteString value) Output only.setSubnetwork(String value) Immutable.setSubnetworkBytes(com.google.protobuf.ByteString value) Immutable.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<NetworkConfig.Consumer.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<NetworkConfig.Consumer.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<NetworkConfig.Consumer.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NetworkConfig.Consumer.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NetworkConfig.Consumer.Builder>
-
mergeFrom
public NetworkConfig.Consumer.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NetworkConfig.Consumer.Builder>- Throws:
IOException
-
getVpcResourceCase
- Specified by:
getVpcResourceCasein interfaceNetworkConfig.ConsumerOrBuilder
-
clearVpcResource
-
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) = { ... }- Specified by:
hasSubnetworkin interfaceNetworkConfig.ConsumerOrBuilder- Returns:
- Whether the subnetwork field is set.
-
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) = { ... }- Specified by:
getSubnetworkin interfaceNetworkConfig.ConsumerOrBuilder- Returns:
- The subnetwork.
-
getSubnetworkBytes
public com.google.protobuf.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) = { ... }- Specified by:
getSubnetworkBytesin interfaceNetworkConfig.ConsumerOrBuilder- Returns:
- The bytes for subnetwork.
-
setSubnetwork
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) = { ... }- Parameters:
value- The subnetwork to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setSubnetworkBytes
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) = { ... }- Parameters:
value- The bytes for subnetwork to set.- Returns:
- This builder for chaining.
-
getEndpointUri
Output only. The URI of the endpoint used to access the metastore service.
string endpoint_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndpointUriin interfaceNetworkConfig.ConsumerOrBuilder- Returns:
- The endpointUri.
-
getEndpointUriBytes
public com.google.protobuf.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];- Specified by:
getEndpointUriBytesin interfaceNetworkConfig.ConsumerOrBuilder- Returns:
- The bytes for endpointUri.
-
setEndpointUri
Output only. The URI of the endpoint used to access the metastore service.
string endpoint_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The endpointUri to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setEndpointUriBytes
Output only. The URI of the endpoint used to access the metastore service.
string endpoint_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for endpointUri to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
getEndpointLocationin interfaceNetworkConfig.ConsumerOrBuilder- Returns:
- The endpointLocation.
-
getEndpointLocationBytes
public com.google.protobuf.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) = { ... }- Specified by:
getEndpointLocationBytesin interfaceNetworkConfig.ConsumerOrBuilder- Returns:
- The bytes for endpointLocation.
-
setEndpointLocation
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) = { ... }- Parameters:
value- The endpointLocation to set.- Returns:
- This builder for chaining.
-
clearEndpointLocation
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:
- This builder for chaining.
-
setEndpointLocationBytes
public NetworkConfig.Consumer.Builder setEndpointLocationBytes(com.google.protobuf.ByteString value) 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) = { ... }- Parameters:
value- The bytes for endpointLocation to set.- Returns:
- This builder for chaining.
-