Class NetworkConfig.Consumer (2.75.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.75.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
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.v1beta.NetworkConfig.Consumer
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  
  
    
public   static   final   int   ENDPOINT_LOCATION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   ENDPOINT_URI_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   SUBNETWORK_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   NetworkConfig . Consumer   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   NetworkConfig . Consumer . Builder   newBuilder ()  
  
  
    
public   static   NetworkConfig . Consumer . Builder   newBuilder ( NetworkConfig . Consumer   prototype )  
  
  
  
    
public   static   NetworkConfig . Consumer   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   NetworkConfig . Consumer   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   NetworkConfig . Consumer   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   NetworkConfig . Consumer   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   NetworkConfig . Consumer   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   NetworkConfig . Consumer   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   NetworkConfig . Consumer   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   NetworkConfig . Consumer   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   NetworkConfig . Consumer   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   NetworkConfig . Consumer   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   NetworkConfig . Consumer   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   NetworkConfig . Consumer   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<NetworkConfig . Consumer >  parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   NetworkConfig . Consumer   getDefaultInstanceForType ()  
  
  
    
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.
 
     
  
  
    
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.
 
     
  
  
    
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 ()  
  
  Overrides 
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  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   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.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   NetworkConfig . Consumer . Builder   newBuilderForType ()  
  
  
    
protected   NetworkConfig . Consumer . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   NetworkConfig . Consumer . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]