Interface PrivateConnectionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PrivateConnection,PrivateConnection.Builder
public interface PrivateConnectionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Labels.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.ErrorgetError()Output only.ErrorOrBuildergetErrorOrBuilder()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels.Map<String,String>getLabelsMap()Labels.StringgetLabelsOrDefault(String key, String defaultValue)Labels.StringgetLabelsOrThrow(String key)Labels.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.PrivateConnection.StategetState()Output only.intgetStateValue()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.VpcPeeringConfiggetVpcPeeringConfig()VPC Peering ConfigVpcPeeringConfigOrBuildergetVpcPeeringConfigOrBuilder()VPC Peering ConfigbooleanhasCreateTime()Output only.booleanhasError()Output only.booleanhasUpdateTime()Output only.booleanhasVpcPeeringConfig()VPC Peering Config-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The resource's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The resource's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The create time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasUpdateTime
boolean hasUpdateTime()
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLabelsCount
int getLabelsCount()
Labels.
map<string, string> labels = 4;
-
containsLabels
boolean containsLabels(String key)
Labels.
map<string, string> labels = 4;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Labels.
map<string, string> labels = 4;
-
getDisplayName
String getDisplayName()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for displayName.
-
getStateValue
int getStateValue()
Output only. The state of the Private Connection.
.google.cloud.datastream.v1alpha1.PrivateConnection.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
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];- Returns:
- The state.
-
hasError
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];- Returns:
- Whether the error field is set.
-
getError
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];- Returns:
- The error.
-
getErrorOrBuilder
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];
-
hasVpcPeeringConfig
boolean hasVpcPeeringConfig()
VPC Peering Config
.google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100;- Returns:
- Whether the vpcPeeringConfig field is set.
-
getVpcPeeringConfig
VpcPeeringConfig getVpcPeeringConfig()
VPC Peering Config
.google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100;- Returns:
- The vpcPeeringConfig.
-
getVpcPeeringConfigOrBuilder
VpcPeeringConfigOrBuilder getVpcPeeringConfigOrBuilder()
VPC Peering Config
.google.cloud.datastream.v1alpha1.VpcPeeringConfig vpc_peering_config = 100;
-
-