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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.metastore.v1alpha.NetworkConfig.Consumer>
|
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];
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];
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];
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];
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];
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 |
---|
Name | Description |
index | int
|
public NetworkConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
public NetworkConfig.Builder clearCustomRoutesEnabled()
Enables custom routes to be imported and exported for the Dataproc
Metastore service's peered VPC network.
bool custom_routes_enabled = 2;
public NetworkConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public NetworkConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public NetworkConfig.Builder clone()
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 |
---|
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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.metastore.v1alpha.NetworkConfig.ConsumerOrBuilder> | |
public boolean getCustomRoutesEnabled()
Enables custom routes to be imported and exported for the Dataproc
Metastore service's peered VPC network.
bool custom_routes_enabled = 2;
Returns |
---|
Type | Description |
boolean | The customRoutesEnabled.
|
public NetworkConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessageV3.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 final NetworkConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
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.v1alpha.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.v1alpha.NetworkConfig.Consumer consumers = 1 [(.google.api.field_behavior) = IMMUTABLE];
public NetworkConfig.Builder setCustomRoutesEnabled(boolean value)
Enables custom routes to be imported and exported for the Dataproc
Metastore service's peered VPC network.
bool custom_routes_enabled = 2;
Parameter |
---|
Name | Description |
value | boolean
The customRoutesEnabled to set.
|
public NetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public NetworkConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final NetworkConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides