public static final class PrivateConnectivity.Builder extends GeneratedMessageV3.Builder<PrivateConnectivity.Builder> implements PrivateConnectivityOrBuilder
Private Connectivity
Protobuf type google.cloud.datastream.v1.PrivateConnectivity
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivateConnectivity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PrivateConnectivity build()
Returns
buildPartial()
public PrivateConnectivity buildPartial()
Returns
clear()
public PrivateConnectivity.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PrivateConnectivity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivateConnectivity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPrivateConnection()
public PrivateConnectivity.Builder clearPrivateConnection()
Required. A reference to a private connection resource.
Format: projects/{project}/locations/{location}/privateConnections/{name}
string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public PrivateConnectivity.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PrivateConnectivity getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPrivateConnection()
public String getPrivateConnection()
Required. A reference to a private connection resource.
Format: projects/{project}/locations/{location}/privateConnections/{name}
string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The privateConnection.
|
getPrivateConnectionBytes()
public ByteString getPrivateConnectionBytes()
Required. A reference to a private connection resource.
Format: projects/{project}/locations/{location}/privateConnections/{name}
string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
ByteString | The bytes for privateConnection.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PrivateConnectivity other)
public PrivateConnectivity.Builder mergeFrom(PrivateConnectivity other)
Parameter
Returns
public PrivateConnectivity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PrivateConnectivity.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivateConnectivity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PrivateConnectivity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPrivateConnection(String value)
public PrivateConnectivity.Builder setPrivateConnection(String value)
Required. A reference to a private connection resource.
Format: projects/{project}/locations/{location}/privateConnections/{name}
string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The privateConnection to set.
|
Returns
setPrivateConnectionBytes(ByteString value)
public PrivateConnectivity.Builder setPrivateConnectionBytes(ByteString value)
Required. A reference to a private connection resource.
Format: projects/{project}/locations/{location}/privateConnections/{name}
string private_connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for privateConnection to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivateConnectivity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivateConnectivity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides