Class NetworkConfig.Consumer.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Consumer.Builder>
      • clear

        public NetworkConfig.Consumer.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Consumer.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Consumer.Builder>
      • getDefaultInstanceForType

        public NetworkConfig.Consumer getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public NetworkConfig.Consumer build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public NetworkConfig.Consumer buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public NetworkConfig.Consumer.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Consumer.Builder>
      • clearField

        public NetworkConfig.Consumer.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Consumer.Builder>
      • clearOneof

        public NetworkConfig.Consumer.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Consumer.Builder>
      • setRepeatedField

        public NetworkConfig.Consumer.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Consumer.Builder>
      • addRepeatedField

        public NetworkConfig.Consumer.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Consumer.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Consumer.Builder>
      • mergeFrom

        public NetworkConfig.Consumer.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NetworkConfig.Consumer.Builder>
        Throws:
        IOException
      • 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:
        hasSubnetwork in interface NetworkConfig.ConsumerOrBuilder
        Returns:
        Whether the subnetwork field is set.
      • getSubnetwork

        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) = { ... }
        Specified by:
        getSubnetwork in interface NetworkConfig.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:
        getSubnetworkBytes in interface NetworkConfig.ConsumerOrBuilder
        Returns:
        The bytes for subnetwork.
      • setSubnetwork

        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) = { ... }
        Parameters:
        value - The subnetwork to set.
        Returns:
        This builder for chaining.
      • clearSubnetwork

        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:
        This builder for chaining.
      • setSubnetworkBytes

        public NetworkConfig.Consumer.Builder setSubnetworkBytes​(com.google.protobuf.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) = { ... }
        Parameters:
        value - The bytes for subnetwork to set.
        Returns:
        This builder for chaining.
      • getEndpointUri

        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];
        Specified by:
        getEndpointUri in interface NetworkConfig.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:
        getEndpointUriBytes in interface NetworkConfig.ConsumerOrBuilder
        Returns:
        The bytes for endpointUri.
      • setEndpointUri

        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];
        Parameters:
        value - The endpointUri to set.
        Returns:
        This builder for chaining.
      • clearEndpointUri

        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:
        This builder for chaining.
      • setEndpointUriBytes

        public NetworkConfig.Consumer.Builder setEndpointUriBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for endpointUri to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final NetworkConfig.Consumer.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Consumer.Builder>
      • mergeUnknownFields

        public final NetworkConfig.Consumer.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Consumer.Builder>