public static final class PscConfig.Builder extends GeneratedMessageV3.Builder<PscConfig.Builder> implements PscConfigOrBuilder
Protobuf type google.cloud.redis.cluster.v1.PscConfig
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PscConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public PscConfig buildPartial()
clear()
public PscConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PscConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNetwork()
public PscConfig.Builder clearNetwork()
Required. The network where the IP address of the discovery endpoint will
be reserved, in the form of
projects/{network_project}/global/networks/{network_id}.
string network = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public PscConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public PscConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public PscConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNetwork()
public String getNetwork()
Required. The network where the IP address of the discovery endpoint will
be reserved, in the form of
projects/{network_project}/global/networks/{network_id}.
string network = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The network.
|
getNetworkBytes()
public ByteString getNetworkBytes()
Required. The network where the IP address of the discovery endpoint will
be reserved, in the form of
projects/{network_project}/global/networks/{network_id}.
string network = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for network.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PscConfig other)
public PscConfig.Builder mergeFrom(PscConfig other)
public PscConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PscConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PscConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PscConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNetwork(String value)
public PscConfig.Builder setNetwork(String value)
Required. The network where the IP address of the discovery endpoint will
be reserved, in the form of
projects/{network_project}/global/networks/{network_id}.
string network = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The network to set.
|
setNetworkBytes(ByteString value)
public PscConfig.Builder setNetworkBytes(ByteString value)
Required. The network where the IP address of the discovery endpoint will
be reserved, in the form of
projects/{network_project}/global/networks/{network_id}.
string network = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for network to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PscConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PscConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides