Class PrivateConnectivity.Builder (1.44.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PrivateConnectivity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrivateConnectivity.Builder
Overrides

build()

public PrivateConnectivity build()
Returns
Type Description
PrivateConnectivity

buildPartial()

public PrivateConnectivity buildPartial()
Returns
Type Description
PrivateConnectivity

clear()

public PrivateConnectivity.Builder clear()
Returns
Type Description
PrivateConnectivity.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PrivateConnectivity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PrivateConnectivity.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PrivateConnectivity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PrivateConnectivity.Builder
Overrides

clearPrivateConnectionName()

public PrivateConnectivity.Builder clearPrivateConnectionName()

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

Returns
Type Description
PrivateConnectivity.Builder

This builder for chaining.

clone()

public PrivateConnectivity.Builder clone()
Returns
Type Description
PrivateConnectivity.Builder
Overrides

getDefaultInstanceForType()

public PrivateConnectivity getDefaultInstanceForType()
Returns
Type Description
PrivateConnectivity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPrivateConnectionName()

public String getPrivateConnectionName()

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

Returns
Type Description
String

The privateConnectionName.

getPrivateConnectionNameBytes()

public ByteString getPrivateConnectionNameBytes()

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

Returns
Type Description
ByteString

The bytes for privateConnectionName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PrivateConnectivity other)

public PrivateConnectivity.Builder mergeFrom(PrivateConnectivity other)
Parameter
Name Description
other PrivateConnectivity
Returns
Type Description
PrivateConnectivity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PrivateConnectivity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivateConnectivity.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PrivateConnectivity.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PrivateConnectivity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrivateConnectivity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrivateConnectivity.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PrivateConnectivity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrivateConnectivity.Builder
Overrides

setPrivateConnectionName(String value)

public PrivateConnectivity.Builder setPrivateConnectionName(String value)

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

Parameter
Name Description
value String

The privateConnectionName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for privateConnectionName to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PrivateConnectivity.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PrivateConnectivity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrivateConnectivity.Builder
Overrides