Class GoldengateConnectionAssignment.Builder (0.42.0)

public static final class GoldengateConnectionAssignment.Builder extends GeneratedMessage.Builder<GoldengateConnectionAssignment.Builder> implements GoldengateConnectionAssignmentOrBuilder

Represents the metadata of a Goldengate Connection Assignment.

Protobuf type google.cloud.oracledatabase.v1.GoldengateConnectionAssignment

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public GoldengateConnectionAssignment build()
Returns
Type Description
GoldengateConnectionAssignment

buildPartial()

public GoldengateConnectionAssignment buildPartial()
Returns
Type Description
GoldengateConnectionAssignment

clear()

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

clearCreateTime()

public GoldengateConnectionAssignment.Builder clearCreateTime()

Output only. The time when the connection assignment was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateConnectionAssignment.Builder

clearDisplayName()

public GoldengateConnectionAssignment.Builder clearDisplayName()

Optional. The display name for the GoldengateConnectionAssignment.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateConnectionAssignment.Builder

This builder for chaining.

clearEntitlementId()

public GoldengateConnectionAssignment.Builder clearEntitlementId()

Output only. The OCID of the entitlement linked to this resource.

string entitlement_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateConnectionAssignment.Builder

This builder for chaining.

clearLabels()

public GoldengateConnectionAssignment.Builder clearLabels()
Returns
Type Description
GoldengateConnectionAssignment.Builder

clearName()

public GoldengateConnectionAssignment.Builder clearName()

Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
GoldengateConnectionAssignment.Builder

This builder for chaining.

clearProperties()

public GoldengateConnectionAssignment.Builder clearProperties()

Required. The properties of the GoldengateConnectionAssignment.

.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentProperties properties = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoldengateConnectionAssignment.Builder

containsLabels(String key)

public boolean containsLabels(String key)

Optional. The labels or tags associated with the GoldengateConnectionAssignment.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. The time when the connection assignment was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time when the connection assignment was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the connection assignment was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public GoldengateConnectionAssignment getDefaultInstanceForType()
Returns
Type Description
GoldengateConnectionAssignment

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Optional. The display name for the GoldengateConnectionAssignment.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. The display name for the GoldengateConnectionAssignment.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getEntitlementId()

public String getEntitlementId()

Output only. The OCID of the entitlement linked to this resource.

string entitlement_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The entitlementId.

getEntitlementIdBytes()

public ByteString getEntitlementIdBytes()

Output only. The OCID of the entitlement linked to this resource.

string entitlement_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for entitlementId.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. The labels or tags associated with the GoldengateConnectionAssignment.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. The labels or tags associated with the GoldengateConnectionAssignment.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. The labels or tags associated with the GoldengateConnectionAssignment.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. The labels or tags associated with the GoldengateConnectionAssignment.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getProperties()

public GoldengateConnectionAssignmentProperties getProperties()

Required. The properties of the GoldengateConnectionAssignment.

.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentProperties properties = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoldengateConnectionAssignmentProperties

The properties.

getPropertiesBuilder()

public GoldengateConnectionAssignmentProperties.Builder getPropertiesBuilder()

Required. The properties of the GoldengateConnectionAssignment.

.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentProperties properties = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoldengateConnectionAssignmentProperties.Builder

getPropertiesOrBuilder()

public GoldengateConnectionAssignmentPropertiesOrBuilder getPropertiesOrBuilder()

Required. The properties of the GoldengateConnectionAssignment.

.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentProperties properties = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoldengateConnectionAssignmentPropertiesOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The time when the connection assignment was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasProperties()

public boolean hasProperties()

Required. The properties of the GoldengateConnectionAssignment.

.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentProperties properties = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the properties field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public GoldengateConnectionAssignment.Builder mergeCreateTime(Timestamp value)

Output only. The time when the connection assignment was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
GoldengateConnectionAssignment.Builder

mergeFrom(GoldengateConnectionAssignment other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProperties(GoldengateConnectionAssignmentProperties value)

public GoldengateConnectionAssignment.Builder mergeProperties(GoldengateConnectionAssignmentProperties value)

Required. The properties of the GoldengateConnectionAssignment.

.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentProperties properties = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GoldengateConnectionAssignmentProperties
Returns
Type Description
GoldengateConnectionAssignment.Builder

putAllLabels(Map<String,String> values)

public GoldengateConnectionAssignment.Builder putAllLabels(Map<String,String> values)

Optional. The labels or tags associated with the GoldengateConnectionAssignment.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
GoldengateConnectionAssignment.Builder

putLabels(String key, String value)

public GoldengateConnectionAssignment.Builder putLabels(String key, String value)

Optional. The labels or tags associated with the GoldengateConnectionAssignment.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
GoldengateConnectionAssignment.Builder

removeLabels(String key)

public GoldengateConnectionAssignment.Builder removeLabels(String key)

Optional. The labels or tags associated with the GoldengateConnectionAssignment.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
GoldengateConnectionAssignment.Builder

setCreateTime(Timestamp value)

public GoldengateConnectionAssignment.Builder setCreateTime(Timestamp value)

Output only. The time when the connection assignment was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
GoldengateConnectionAssignment.Builder

setCreateTime(Timestamp.Builder builderForValue)

public GoldengateConnectionAssignment.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time when the connection assignment was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
GoldengateConnectionAssignment.Builder

setDisplayName(String value)

public GoldengateConnectionAssignment.Builder setDisplayName(String value)

Optional. The display name for the GoldengateConnectionAssignment.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
GoldengateConnectionAssignment.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public GoldengateConnectionAssignment.Builder setDisplayNameBytes(ByteString value)

Optional. The display name for the GoldengateConnectionAssignment.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
GoldengateConnectionAssignment.Builder

This builder for chaining.

setEntitlementId(String value)

public GoldengateConnectionAssignment.Builder setEntitlementId(String value)

Output only. The OCID of the entitlement linked to this resource.

string entitlement_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The entitlementId to set.

Returns
Type Description
GoldengateConnectionAssignment.Builder

This builder for chaining.

setEntitlementIdBytes(ByteString value)

public GoldengateConnectionAssignment.Builder setEntitlementIdBytes(ByteString value)

Output only. The OCID of the entitlement linked to this resource.

string entitlement_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for entitlementId to set.

Returns
Type Description
GoldengateConnectionAssignment.Builder

This builder for chaining.

setName(String value)

public GoldengateConnectionAssignment.Builder setName(String value)

Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GoldengateConnectionAssignment.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GoldengateConnectionAssignment.Builder setNameBytes(ByteString value)

Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GoldengateConnectionAssignment.Builder

This builder for chaining.

setProperties(GoldengateConnectionAssignmentProperties value)

public GoldengateConnectionAssignment.Builder setProperties(GoldengateConnectionAssignmentProperties value)

Required. The properties of the GoldengateConnectionAssignment.

.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentProperties properties = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GoldengateConnectionAssignmentProperties
Returns
Type Description
GoldengateConnectionAssignment.Builder

setProperties(GoldengateConnectionAssignmentProperties.Builder builderForValue)

public GoldengateConnectionAssignment.Builder setProperties(GoldengateConnectionAssignmentProperties.Builder builderForValue)

Required. The properties of the GoldengateConnectionAssignment.

.google.cloud.oracledatabase.v1.GoldengateConnectionAssignmentProperties properties = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue GoldengateConnectionAssignmentProperties.Builder
Returns
Type Description
GoldengateConnectionAssignment.Builder