Class TestGoldengateConnectionAssignmentRequest.Builder (0.42.0)

public static final class TestGoldengateConnectionAssignmentRequest.Builder extends GeneratedMessage.Builder<TestGoldengateConnectionAssignmentRequest.Builder> implements TestGoldengateConnectionAssignmentRequestOrBuilder

Request message for TestGoldengateConnectionAssignment.

Protobuf type google.cloud.oracledatabase.v1.TestGoldengateConnectionAssignmentRequest

Static Methods

getDescriptor()

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

Methods

build()

public TestGoldengateConnectionAssignmentRequest build()
Returns
Type Description
TestGoldengateConnectionAssignmentRequest

buildPartial()

public TestGoldengateConnectionAssignmentRequest buildPartial()
Returns
Type Description
TestGoldengateConnectionAssignmentRequest

clear()

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

clearName()

public TestGoldengateConnectionAssignmentRequest.Builder clearName()

Required. Name of the connection assignment for which to test connection. projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
TestGoldengateConnectionAssignmentRequest.Builder

This builder for chaining.

clearType()

public TestGoldengateConnectionAssignmentRequest.Builder clearType()

Optional. The type of the test of the assigned connection. The only type actually supported is DEFAULT.

.google.cloud.oracledatabase.v1.TestGoldengateConnectionAssignmentRequest.TestType type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TestGoldengateConnectionAssignmentRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public TestGoldengateConnectionAssignmentRequest getDefaultInstanceForType()
Returns
Type Description
TestGoldengateConnectionAssignmentRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Name of the connection assignment for which to test connection. projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the connection assignment for which to test connection. projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getType()

public TestGoldengateConnectionAssignmentRequest.TestType getType()

Optional. The type of the test of the assigned connection. The only type actually supported is DEFAULT.

.google.cloud.oracledatabase.v1.TestGoldengateConnectionAssignmentRequest.TestType type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TestGoldengateConnectionAssignmentRequest.TestType

The type.

getTypeValue()

public int getTypeValue()

Optional. The type of the test of the assigned connection. The only type actually supported is DEFAULT.

.google.cloud.oracledatabase.v1.TestGoldengateConnectionAssignmentRequest.TestType type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TestGoldengateConnectionAssignmentRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public TestGoldengateConnectionAssignmentRequest.Builder setName(String value)

Required. Name of the connection assignment for which to test connection. projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
TestGoldengateConnectionAssignmentRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public TestGoldengateConnectionAssignmentRequest.Builder setNameBytes(ByteString value)

Required. Name of the connection assignment for which to test connection. projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
TestGoldengateConnectionAssignmentRequest.Builder

This builder for chaining.

setType(TestGoldengateConnectionAssignmentRequest.TestType value)

public TestGoldengateConnectionAssignmentRequest.Builder setType(TestGoldengateConnectionAssignmentRequest.TestType value)

Optional. The type of the test of the assigned connection. The only type actually supported is DEFAULT.

.google.cloud.oracledatabase.v1.TestGoldengateConnectionAssignmentRequest.TestType type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value TestGoldengateConnectionAssignmentRequest.TestType

The type to set.

Returns
Type Description
TestGoldengateConnectionAssignmentRequest.Builder

This builder for chaining.

setTypeValue(int value)

public TestGoldengateConnectionAssignmentRequest.Builder setTypeValue(int value)

Optional. The type of the test of the assigned connection. The only type actually supported is DEFAULT.

.google.cloud.oracledatabase.v1.TestGoldengateConnectionAssignmentRequest.TestType type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
TestGoldengateConnectionAssignmentRequest.Builder

This builder for chaining.