Class PrivateConnectivity.Builder (1.18.0)

public static final class PrivateConnectivity.Builder extends GeneratedMessageV3.Builder<PrivateConnectivity.Builder> implements PrivateConnectivityOrBuilder

Private Connectivity

Protobuf type google.cloud.datastream.v1alpha1.PrivateConnectivity

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PrivateConnectivity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PrivateConnectivity.Builder
Overrides

build()

public PrivateConnectivity build()
Returns
TypeDescription
PrivateConnectivity

buildPartial()

public PrivateConnectivity buildPartial()
Returns
TypeDescription
PrivateConnectivity

clear()

public PrivateConnectivity.Builder clear()
Returns
TypeDescription
PrivateConnectivity.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PrivateConnectivity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PrivateConnectivity.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PrivateConnectivity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PrivateConnectivity.Builder
Overrides

clearPrivateConnectionName()

public PrivateConnectivity.Builder clearPrivateConnectionName()

string private_connection_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PrivateConnectivity.Builder

This builder for chaining.

clone()

public PrivateConnectivity.Builder clone()
Returns
TypeDescription
PrivateConnectivity.Builder
Overrides

getDefaultInstanceForType()

public PrivateConnectivity getDefaultInstanceForType()
Returns
TypeDescription
PrivateConnectivity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPrivateConnectionName()

public String getPrivateConnectionName()

string private_connection_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The privateConnectionName.

getPrivateConnectionNameBytes()

public ByteString getPrivateConnectionNameBytes()

string private_connection_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for privateConnectionName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PrivateConnectivity other)

public PrivateConnectivity.Builder mergeFrom(PrivateConnectivity other)
Parameter
NameDescription
otherPrivateConnectivity
Returns
TypeDescription
PrivateConnectivity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PrivateConnectivity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivateConnectivity.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PrivateConnectivity.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PrivateConnectivity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrivateConnectivity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PrivateConnectivity.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PrivateConnectivity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PrivateConnectivity.Builder
Overrides

setPrivateConnectionName(String value)

public PrivateConnectivity.Builder setPrivateConnectionName(String value)

string private_connection_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The privateConnectionName to set.

Returns
TypeDescription
PrivateConnectivity.Builder

This builder for chaining.

setPrivateConnectionNameBytes(ByteString value)

public PrivateConnectivity.Builder setPrivateConnectionNameBytes(ByteString value)

string private_connection_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for privateConnectionName to set.

Returns
TypeDescription
PrivateConnectivity.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PrivateConnectivity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PrivateConnectivity.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PrivateConnectivity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PrivateConnectivity.Builder
Overrides