public static final class NetworkConfig.Builder extends GeneratedMessage.Builder<NetworkConfig.Builder> implements NetworkConfigOrBuilder
Network configuration for the Dataproc Metastore service.
Next available ID: 4
Protobuf type google.cloud.metastore.v1.NetworkConfig
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
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.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.metastore.v1.NetworkConfig.Consumer>
|
public NetworkConfig.Builder addConsumers(NetworkConfig.Consumer value)
Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.
repeated .google.cloud.metastore.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
public NetworkConfig.Builder addConsumers(NetworkConfig.Consumer.Builder builderForValue)
Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.
repeated .google.cloud.metastore.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
public NetworkConfig.Builder addConsumers(int index, NetworkConfig.Consumer value)
Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.
repeated .google.cloud.metastore.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
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.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
public NetworkConfig.Consumer.Builder addConsumersBuilder()
Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.
repeated .google.cloud.metastore.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
public NetworkConfig.Consumer.Builder addConsumersBuilder(int index)
Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.
repeated .google.cloud.metastore.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter |
| Name |
Description |
index |
int
|
public NetworkConfig build()
public NetworkConfig buildPartial()
public NetworkConfig.Builder clear()
Overrides
public NetworkConfig.Builder clearConsumers()
Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.
repeated .google.cloud.metastore.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
public NetworkConfig.Consumer getConsumers(int index)
Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.
repeated .google.cloud.metastore.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter |
| Name |
Description |
index |
int
|
public NetworkConfig.Consumer.Builder getConsumersBuilder(int index)
Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.
repeated .google.cloud.metastore.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter |
| Name |
Description |
index |
int
|
public List<NetworkConfig.Consumer.Builder> getConsumersBuilderList()
Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.
repeated .google.cloud.metastore.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
public int getConsumersCount()
Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.
repeated .google.cloud.metastore.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
int |
|
public List<NetworkConfig.Consumer> getConsumersList()
Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.
repeated .google.cloud.metastore.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
public NetworkConfig.ConsumerOrBuilder getConsumersOrBuilder(int index)
Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.
repeated .google.cloud.metastore.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends NetworkConfig.ConsumerOrBuilder> getConsumersOrBuilderList()
Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.
repeated .google.cloud.metastore.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.metastore.v1.NetworkConfig.ConsumerOrBuilder> |
|
public NetworkConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public NetworkConfig.Builder mergeFrom(NetworkConfig other)
public NetworkConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public NetworkConfig.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public NetworkConfig.Builder removeConsumers(int index)
Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.
repeated .google.cloud.metastore.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter |
| Name |
Description |
index |
int
|
public NetworkConfig.Builder setConsumers(int index, NetworkConfig.Consumer value)
Immutable. The consumer-side network configuration for the Dataproc
Metastore instance.
repeated .google.cloud.metastore.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
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.v1.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];