- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public static final class PrivateConnection.Builder extends GeneratedMessageV3.Builder<PrivateConnection.Builder> implements PrivateConnectionOrBuilder
The PrivateConnection resource is used to establish private connectivity between Datastream and a customer's network.
Protobuf type google.cloud.datastream.v1alpha1.PrivateConnection
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PrivateConnection.BuilderImplements
PrivateConnectionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivateConnection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PrivateConnection.Builder |
build()
public PrivateConnection build()
Type | Description |
PrivateConnection |
buildPartial()
public PrivateConnection buildPartial()
Type | Description |
PrivateConnection |
clear()
public PrivateConnection.Builder clear()
Type | Description |
PrivateConnection.Builder |
clearCreateTime()
public PrivateConnection.Builder clearCreateTime()
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
PrivateConnection.Builder |
clearDisplayName()
public PrivateConnection.Builder clearDisplayName()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PrivateConnection.Builder | This builder for chaining. |
clearError()
public PrivateConnection.Builder clearError()
Output only. In case of error, the details of the error in a user-friendly format.
.google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
PrivateConnection.Builder |
clearField(Descriptors.FieldDescriptor field)
public PrivateConnection.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PrivateConnection.Builder |
clearLabels()
public PrivateConnection.Builder clearLabels()
Type | Description |
PrivateConnection.Builder |
clearName()
public PrivateConnection.Builder clearName()
Output only. The resource's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
PrivateConnection.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivateConnection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PrivateConnection.Builder |
clearState()
public PrivateConnection.Builder clearState()
Output only. The state of the Private Connection.
.google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
PrivateConnection.Builder | This builder for chaining. |
clearUpdateTime()
public PrivateConnection.Builder clearUpdateTime()
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
PrivateConnection.Builder |
clearVpcPeeringConfig()
public PrivateConnection.Builder clearVpcPeeringConfig()
VPC Peering Config
.google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100;
Type | Description |
PrivateConnection.Builder |
clone()
public PrivateConnection.Builder clone()
Type | Description |
PrivateConnection.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Labels.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public PrivateConnection getDefaultInstanceForType()
Type | Description |
PrivateConnection |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for displayName. |
getError()
public Error getError()
Output only. In case of error, the details of the error in a user-friendly format.
.google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Error | The error. |
getErrorBuilder()
public Error.Builder getErrorBuilder()
Output only. In case of error, the details of the error in a user-friendly format.
.google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Error.Builder |
getErrorOrBuilder()
public ErrorOrBuilder getErrorOrBuilder()
Output only. In case of error, the details of the error in a user-friendly format.
.google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ErrorOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Labels.
map<string, string> labels = 4;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels.
map<string, string> labels = 4;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels.
map<string, string> labels = 4;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Output only. The resource's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getState()
public PrivateConnection.State getState()
Output only. The state of the Private Connection.
.google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
PrivateConnection.State | The state. |
getStateValue()
public int getStateValue()
Output only. The state of the Private Connection.
.google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getVpcPeeringConfig()
public VpcPeeringConfig getVpcPeeringConfig()
VPC Peering Config
.google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100;
Type | Description |
VpcPeeringConfig | The vpcPeeringConfig. |
getVpcPeeringConfigBuilder()
public VpcPeeringConfig.Builder getVpcPeeringConfigBuilder()
VPC Peering Config
.google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100;
Type | Description |
VpcPeeringConfig.Builder |
getVpcPeeringConfigOrBuilder()
public VpcPeeringConfigOrBuilder getVpcPeeringConfigOrBuilder()
VPC Peering Config
.google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100;
Type | Description |
VpcPeeringConfigOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasError()
public boolean hasError()
Output only. In case of error, the details of the error in a user-friendly format.
.google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the error field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
hasVpcPeeringConfig()
public boolean hasVpcPeeringConfig()
VPC Peering Config
.google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100;
Type | Description |
boolean | Whether the vpcPeeringConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public PrivateConnection.Builder mergeCreateTime(Timestamp value)
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
PrivateConnection.Builder |
mergeError(Error value)
public PrivateConnection.Builder mergeError(Error value)
Output only. In case of error, the details of the error in a user-friendly format.
.google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Error |
Type | Description |
PrivateConnection.Builder |
mergeFrom(PrivateConnection other)
public PrivateConnection.Builder mergeFrom(PrivateConnection other)
Name | Description |
other | PrivateConnection |
Type | Description |
PrivateConnection.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PrivateConnection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PrivateConnection.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PrivateConnection.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PrivateConnection.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivateConnection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PrivateConnection.Builder |
mergeUpdateTime(Timestamp value)
public PrivateConnection.Builder mergeUpdateTime(Timestamp value)
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
PrivateConnection.Builder |
mergeVpcPeeringConfig(VpcPeeringConfig value)
public PrivateConnection.Builder mergeVpcPeeringConfig(VpcPeeringConfig value)
VPC Peering Config
.google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100;
Name | Description |
value | VpcPeeringConfig |
Type | Description |
PrivateConnection.Builder |
putAllLabels(Map<String,String> values)
public PrivateConnection.Builder putAllLabels(Map<String,String> values)
Labels.
map<string, string> labels = 4;
Name | Description |
values | Map<String,String> |
Type | Description |
PrivateConnection.Builder |
putLabels(String key, String value)
public PrivateConnection.Builder putLabels(String key, String value)
Labels.
map<string, string> labels = 4;
Name | Description |
key | String |
value | String |
Type | Description |
PrivateConnection.Builder |
removeLabels(String key)
public PrivateConnection.Builder removeLabels(String key)
Labels.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
PrivateConnection.Builder |
setCreateTime(Timestamp value)
public PrivateConnection.Builder setCreateTime(Timestamp value)
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
PrivateConnection.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public PrivateConnection.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
PrivateConnection.Builder |
setDisplayName(String value)
public PrivateConnection.Builder setDisplayName(String value)
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The displayName to set. |
Type | Description |
PrivateConnection.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public PrivateConnection.Builder setDisplayNameBytes(ByteString value)
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
PrivateConnection.Builder | This builder for chaining. |
setError(Error value)
public PrivateConnection.Builder setError(Error value)
Output only. In case of error, the details of the error in a user-friendly format.
.google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Error |
Type | Description |
PrivateConnection.Builder |
setError(Error.Builder builderForValue)
public PrivateConnection.Builder setError(Error.Builder builderForValue)
Output only. In case of error, the details of the error in a user-friendly format.
.google.cloud.datastream.v1alpha1.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Error.Builder |
Type | Description |
PrivateConnection.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PrivateConnection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PrivateConnection.Builder |
setName(String value)
public PrivateConnection.Builder setName(String value)
Output only. The resource's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
PrivateConnection.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public PrivateConnection.Builder setNameBytes(ByteString value)
Output only. The resource's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
PrivateConnection.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivateConnection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PrivateConnection.Builder |
setState(PrivateConnection.State value)
public PrivateConnection.Builder setState(PrivateConnection.State value)
Output only. The state of the Private Connection.
.google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | PrivateConnection.State The state to set. |
Type | Description |
PrivateConnection.Builder | This builder for chaining. |
setStateValue(int value)
public PrivateConnection.Builder setStateValue(int value)
Output only. The state of the Private Connection.
.google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
PrivateConnection.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivateConnection.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PrivateConnection.Builder |
setUpdateTime(Timestamp value)
public PrivateConnection.Builder setUpdateTime(Timestamp value)
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
PrivateConnection.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public PrivateConnection.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
PrivateConnection.Builder |
setVpcPeeringConfig(VpcPeeringConfig value)
public PrivateConnection.Builder setVpcPeeringConfig(VpcPeeringConfig value)
VPC Peering Config
.google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100;
Name | Description |
value | VpcPeeringConfig |
Type | Description |
PrivateConnection.Builder |
setVpcPeeringConfig(VpcPeeringConfig.Builder builderForValue)
public PrivateConnection.Builder setVpcPeeringConfig(VpcPeeringConfig.Builder builderForValue)
VPC Peering Config
.google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100;
Name | Description |
builderForValue | VpcPeeringConfig.Builder |
Type | Description |
PrivateConnection.Builder |