public static final class PrivateConnectivity.Builder extends GeneratedMessageV3.Builder<PrivateConnectivity.Builder> implements PrivateConnectivityOrBuilder
Private Connectivity
Protobuf type google.cloud.datastream.v1.PrivateConnectivity
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 PrivateConnectivity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PrivateConnectivity build()
buildPartial()
public PrivateConnectivity buildPartial()
clear()
public PrivateConnectivity.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PrivateConnectivity.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivateConnectivity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public PrivateConnectivity.Builder clone()
Overrides
getDefaultInstanceForType()
public PrivateConnectivity getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PrivateConnectivity other)
public PrivateConnectivity.Builder mergeFrom(PrivateConnectivity other)
public PrivateConnectivity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PrivateConnectivity.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivateConnectivity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PrivateConnectivity.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivateConnectivity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivateConnectivity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides