public static final class NetworkConfig.Builder extends GeneratedMessageV3.Builder<NetworkConfig.Builder> implements NetworkConfigOrBuilder
Network configuration for the Dataproc Metastore service.
Protobuf type google.cloud.metastore.v1alpha.NetworkConfig
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public NetworkConfig.Builder addAllConsumers(Iterable<? extends NetworkConfig.Consumer> values)
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.metastore.v1alpha.NetworkConfig.Consumer>
|
Returns
public NetworkConfig.Builder addConsumers(NetworkConfig.Consumer value)
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameter
Returns
public NetworkConfig.Builder addConsumers(NetworkConfig.Consumer.Builder builderForValue)
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameter
Returns
public NetworkConfig.Builder addConsumers(int index, NetworkConfig.Consumer value)
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameters
Returns
public NetworkConfig.Builder addConsumers(int index, NetworkConfig.Consumer.Builder builderForValue)
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameters
Returns
public NetworkConfig.Consumer.Builder addConsumersBuilder()
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns
public NetworkConfig.Consumer.Builder addConsumersBuilder(int index)
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameter
Returns
public NetworkConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public NetworkConfig build()
Returns
public NetworkConfig buildPartial()
Returns
public NetworkConfig.Builder clear()
Returns
Overrides
public NetworkConfig.Builder clearConsumers()
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns
public NetworkConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public NetworkConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public NetworkConfig.Builder clone()
Returns
Overrides
public NetworkConfig.Consumer getConsumers(int index)
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameter
Returns
public NetworkConfig.Consumer.Builder getConsumersBuilder(int index)
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameter
Returns
public List<NetworkConfig.Consumer.Builder> getConsumersBuilderList()
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns
public int getConsumersCount()
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns
public List<NetworkConfig.Consumer> getConsumersList()
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns
public NetworkConfig.ConsumerOrBuilder getConsumersOrBuilder(int index)
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameter
Returns
public List<? extends NetworkConfig.ConsumerOrBuilder> getConsumersOrBuilderList()
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type | Description |
List<? extends com.google.cloud.metastore.v1alpha.NetworkConfig.ConsumerOrBuilder> | |
public NetworkConfig getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public NetworkConfig.Builder mergeFrom(NetworkConfig other)
Parameter
Returns
public NetworkConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public NetworkConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final NetworkConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public NetworkConfig.Builder removeConsumers(int index)
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameter
Returns
public NetworkConfig.Builder setConsumers(int index, NetworkConfig.Consumer value)
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameters
Returns
public NetworkConfig.Builder setConsumers(int index, NetworkConfig.Consumer.Builder builderForValue)
Immutable. The consumer-side network configuration for the Dataproc Metastore
instance.
repeated .google.cloud.metastore.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameters
Returns
public NetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public NetworkConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final NetworkConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides