public static final class AccessConfig.Builder extends GeneratedMessageV3.Builder<AccessConfig.Builder> implements AccessConfigOrBuilder
The configuration of access to the Kafka cluster.
Protobuf type google.cloud.managedkafka.v1.AccessConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllNetworkConfigs(Iterable<? extends NetworkConfig> values)
public AccessConfig.Builder addAllNetworkConfigs(Iterable<? extends NetworkConfig> values)
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.managedkafka.v1.NetworkConfig>
|
addNetworkConfigs(NetworkConfig value)
public AccessConfig.Builder addNetworkConfigs(NetworkConfig value)
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
addNetworkConfigs(NetworkConfig.Builder builderForValue)
public AccessConfig.Builder addNetworkConfigs(NetworkConfig.Builder builderForValue)
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
addNetworkConfigs(int index, NetworkConfig value)
public AccessConfig.Builder addNetworkConfigs(int index, NetworkConfig value)
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
addNetworkConfigs(int index, NetworkConfig.Builder builderForValue)
public AccessConfig.Builder addNetworkConfigs(int index, NetworkConfig.Builder builderForValue)
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
addNetworkConfigsBuilder()
public NetworkConfig.Builder addNetworkConfigsBuilder()
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
addNetworkConfigsBuilder(int index)
public NetworkConfig.Builder addNetworkConfigsBuilder(int index)
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AccessConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AccessConfig build()
buildPartial()
public AccessConfig buildPartial()
clear()
public AccessConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AccessConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNetworkConfigs()
public AccessConfig.Builder clearNetworkConfigs()
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public AccessConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AccessConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public AccessConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNetworkConfigs(int index)
public NetworkConfig getNetworkConfigs(int index)
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getNetworkConfigsBuilder(int index)
public NetworkConfig.Builder getNetworkConfigsBuilder(int index)
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getNetworkConfigsBuilderList()
public List<NetworkConfig.Builder> getNetworkConfigsBuilderList()
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
getNetworkConfigsCount()
public int getNetworkConfigsCount()
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getNetworkConfigsList()
public List<NetworkConfig> getNetworkConfigsList()
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
getNetworkConfigsOrBuilder(int index)
public NetworkConfigOrBuilder getNetworkConfigsOrBuilder(int index)
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getNetworkConfigsOrBuilderList()
public List<? extends NetworkConfigOrBuilder> getNetworkConfigsOrBuilderList()
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.managedkafka.v1.NetworkConfigOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AccessConfig other)
public AccessConfig.Builder mergeFrom(AccessConfig other)
public AccessConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AccessConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AccessConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeNetworkConfigs(int index)
public AccessConfig.Builder removeNetworkConfigs(int index)
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public AccessConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNetworkConfigs(int index, NetworkConfig value)
public AccessConfig.Builder setNetworkConfigs(int index, NetworkConfig value)
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
setNetworkConfigs(int index, NetworkConfig.Builder builderForValue)
public AccessConfig.Builder setNetworkConfigs(int index, NetworkConfig.Builder builderForValue)
Required. Virtual Private Cloud (VPC) networks that must be granted direct
access to the Kafka cluster. Minimum of 1 network is required. Maximum 10
networks can be specified.
repeated .google.cloud.managedkafka.v1.NetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AccessConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AccessConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides