Class GoldengateDeploymentLock.Builder (0.42.0)

public static final class GoldengateDeploymentLock.Builder extends GeneratedMessage.Builder<GoldengateDeploymentLock.Builder> implements GoldengateDeploymentLockOrBuilder

The lock of the GoldengateDeployment.

Protobuf type google.cloud.oracledatabase.v1.GoldengateDeploymentLock

Static Methods

getDescriptor()

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

Methods

build()

public GoldengateDeploymentLock build()
Returns
Type Description
GoldengateDeploymentLock

buildPartial()

public GoldengateDeploymentLock buildPartial()
Returns
Type Description
GoldengateDeploymentLock

clear()

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

clearCompartmentId()

public GoldengateDeploymentLock.Builder clearCompartmentId()

Output only. The compartment id.

string compartment_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateDeploymentLock.Builder

This builder for chaining.

clearCreateTime()

public GoldengateDeploymentLock.Builder clearCreateTime()

Output only. The time created.

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

Returns
Type Description
GoldengateDeploymentLock.Builder

clearMessage()

public GoldengateDeploymentLock.Builder clearMessage()

Output only. The message.

string message = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateDeploymentLock.Builder

This builder for chaining.

clearRelatedResourceId()

public GoldengateDeploymentLock.Builder clearRelatedResourceId()

Output only. The related resource id.

string related_resource_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateDeploymentLock.Builder

This builder for chaining.

clearType()

public GoldengateDeploymentLock.Builder clearType()

Output only. The type of lock.

.google.cloud.oracledatabase.v1.GoldengateDeploymentLock.LockType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateDeploymentLock.Builder

This builder for chaining.

getCompartmentId()

public String getCompartmentId()

Output only. The compartment id.

string compartment_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The compartmentId.

getCompartmentIdBytes()

public ByteString getCompartmentIdBytes()

Output only. The compartment id.

string compartment_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for compartmentId.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time created.

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

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time created.

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

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time created.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public GoldengateDeploymentLock getDefaultInstanceForType()
Returns
Type Description
GoldengateDeploymentLock

getDescriptorForType()

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

getMessage()

public String getMessage()

Output only. The message.

string message = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Output only. The message.

string message = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for message.

getRelatedResourceId()

public String getRelatedResourceId()

Output only. The related resource id.

string related_resource_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The relatedResourceId.

getRelatedResourceIdBytes()

public ByteString getRelatedResourceIdBytes()

Output only. The related resource id.

string related_resource_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for relatedResourceId.

getType()

public GoldengateDeploymentLock.LockType getType()

Output only. The type of lock.

.google.cloud.oracledatabase.v1.GoldengateDeploymentLock.LockType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoldengateDeploymentLock.LockType

The type.

getTypeValue()

public int getTypeValue()

Output only. The type of lock.

.google.cloud.oracledatabase.v1.GoldengateDeploymentLock.LockType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time created.

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

Returns
Type Description
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public GoldengateDeploymentLock.Builder mergeCreateTime(Timestamp value)

Output only. The time created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
GoldengateDeploymentLock.Builder

mergeFrom(GoldengateDeploymentLock other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCompartmentId(String value)

public GoldengateDeploymentLock.Builder setCompartmentId(String value)

Output only. The compartment id.

string compartment_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The compartmentId to set.

Returns
Type Description
GoldengateDeploymentLock.Builder

This builder for chaining.

setCompartmentIdBytes(ByteString value)

public GoldengateDeploymentLock.Builder setCompartmentIdBytes(ByteString value)

Output only. The compartment id.

string compartment_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for compartmentId to set.

Returns
Type Description
GoldengateDeploymentLock.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public GoldengateDeploymentLock.Builder setCreateTime(Timestamp value)

Output only. The time created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
GoldengateDeploymentLock.Builder

setCreateTime(Timestamp.Builder builderForValue)

public GoldengateDeploymentLock.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time created.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
GoldengateDeploymentLock.Builder

setMessage(String value)

public GoldengateDeploymentLock.Builder setMessage(String value)

Output only. The message.

string message = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The message to set.

Returns
Type Description
GoldengateDeploymentLock.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public GoldengateDeploymentLock.Builder setMessageBytes(ByteString value)

Output only. The message.

string message = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
GoldengateDeploymentLock.Builder

This builder for chaining.

setRelatedResourceId(String value)

public GoldengateDeploymentLock.Builder setRelatedResourceId(String value)

Output only. The related resource id.

string related_resource_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The relatedResourceId to set.

Returns
Type Description
GoldengateDeploymentLock.Builder

This builder for chaining.

setRelatedResourceIdBytes(ByteString value)

public GoldengateDeploymentLock.Builder setRelatedResourceIdBytes(ByteString value)

Output only. The related resource id.

string related_resource_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for relatedResourceId to set.

Returns
Type Description
GoldengateDeploymentLock.Builder

This builder for chaining.

setType(GoldengateDeploymentLock.LockType value)

public GoldengateDeploymentLock.Builder setType(GoldengateDeploymentLock.LockType value)

Output only. The type of lock.

.google.cloud.oracledatabase.v1.GoldengateDeploymentLock.LockType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value GoldengateDeploymentLock.LockType

The type to set.

Returns
Type Description
GoldengateDeploymentLock.Builder

This builder for chaining.

setTypeValue(int value)

public GoldengateDeploymentLock.Builder setTypeValue(int value)

Output only. The type of lock.

.google.cloud.oracledatabase.v1.GoldengateDeploymentLock.LockType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
GoldengateDeploymentLock.Builder

This builder for chaining.