Class Instance.ConnectionDetail.Builder (0.1.0)

public static final class Instance.ConnectionDetail.Builder extends GeneratedMessageV3.Builder<Instance.ConnectionDetail.Builder> implements Instance.ConnectionDetailOrBuilder

Information of each PSC connection.

Protobuf type google.cloud.memorystore.v1.Instance.ConnectionDetail

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Instance.ConnectionDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Instance.ConnectionDetail.Builder
Overrides

build()

public Instance.ConnectionDetail build()
Returns
Type Description
Instance.ConnectionDetail

buildPartial()

public Instance.ConnectionDetail buildPartial()
Returns
Type Description
Instance.ConnectionDetail

clear()

public Instance.ConnectionDetail.Builder clear()
Returns
Type Description
Instance.ConnectionDetail.Builder
Overrides

clearConnection()

public Instance.ConnectionDetail.Builder clearConnection()
Returns
Type Description
Instance.ConnectionDetail.Builder

clearField(Descriptors.FieldDescriptor field)

public Instance.ConnectionDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Instance.ConnectionDetail.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Instance.ConnectionDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Instance.ConnectionDetail.Builder
Overrides

clearPscAutoConnection()

public Instance.ConnectionDetail.Builder clearPscAutoConnection()

Detailed information of a PSC connection that is created through service connectivity automation.

.google.cloud.memorystore.v1.PscAutoConnection psc_auto_connection = 1;

Returns
Type Description
Instance.ConnectionDetail.Builder

clearPscConnection()

public Instance.ConnectionDetail.Builder clearPscConnection()

Detailed information of a PSC connection that is created by the user.

.google.cloud.memorystore.v1.PscConnection psc_connection = 2;

Returns
Type Description
Instance.ConnectionDetail.Builder

clone()

public Instance.ConnectionDetail.Builder clone()
Returns
Type Description
Instance.ConnectionDetail.Builder
Overrides

getConnectionCase()

public Instance.ConnectionDetail.ConnectionCase getConnectionCase()
Returns
Type Description
Instance.ConnectionDetail.ConnectionCase

getDefaultInstanceForType()

public Instance.ConnectionDetail getDefaultInstanceForType()
Returns
Type Description
Instance.ConnectionDetail

getDescriptorForType()

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

getPscAutoConnection()

public PscAutoConnection getPscAutoConnection()

Detailed information of a PSC connection that is created through service connectivity automation.

.google.cloud.memorystore.v1.PscAutoConnection psc_auto_connection = 1;

Returns
Type Description
PscAutoConnection

The pscAutoConnection.

getPscAutoConnectionBuilder()

public PscAutoConnection.Builder getPscAutoConnectionBuilder()

Detailed information of a PSC connection that is created through service connectivity automation.

.google.cloud.memorystore.v1.PscAutoConnection psc_auto_connection = 1;

Returns
Type Description
PscAutoConnection.Builder

getPscAutoConnectionOrBuilder()

public PscAutoConnectionOrBuilder getPscAutoConnectionOrBuilder()

Detailed information of a PSC connection that is created through service connectivity automation.

.google.cloud.memorystore.v1.PscAutoConnection psc_auto_connection = 1;

Returns
Type Description
PscAutoConnectionOrBuilder

getPscConnection()

public PscConnection getPscConnection()

Detailed information of a PSC connection that is created by the user.

.google.cloud.memorystore.v1.PscConnection psc_connection = 2;

Returns
Type Description
PscConnection

The pscConnection.

getPscConnectionBuilder()

public PscConnection.Builder getPscConnectionBuilder()

Detailed information of a PSC connection that is created by the user.

.google.cloud.memorystore.v1.PscConnection psc_connection = 2;

Returns
Type Description
PscConnection.Builder

getPscConnectionOrBuilder()

public PscConnectionOrBuilder getPscConnectionOrBuilder()

Detailed information of a PSC connection that is created by the user.

.google.cloud.memorystore.v1.PscConnection psc_connection = 2;

Returns
Type Description
PscConnectionOrBuilder

hasPscAutoConnection()

public boolean hasPscAutoConnection()

Detailed information of a PSC connection that is created through service connectivity automation.

.google.cloud.memorystore.v1.PscAutoConnection psc_auto_connection = 1;

Returns
Type Description
boolean

Whether the pscAutoConnection field is set.

hasPscConnection()

public boolean hasPscConnection()

Detailed information of a PSC connection that is created by the user.

.google.cloud.memorystore.v1.PscConnection psc_connection = 2;

Returns
Type Description
boolean

Whether the pscConnection field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Instance.ConnectionDetail other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePscAutoConnection(PscAutoConnection value)

public Instance.ConnectionDetail.Builder mergePscAutoConnection(PscAutoConnection value)

Detailed information of a PSC connection that is created through service connectivity automation.

.google.cloud.memorystore.v1.PscAutoConnection psc_auto_connection = 1;

Parameter
Name Description
value PscAutoConnection
Returns
Type Description
Instance.ConnectionDetail.Builder

mergePscConnection(PscConnection value)

public Instance.ConnectionDetail.Builder mergePscConnection(PscConnection value)

Detailed information of a PSC connection that is created by the user.

.google.cloud.memorystore.v1.PscConnection psc_connection = 2;

Parameter
Name Description
value PscConnection
Returns
Type Description
Instance.ConnectionDetail.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Instance.ConnectionDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Instance.ConnectionDetail.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Instance.ConnectionDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Instance.ConnectionDetail.Builder
Overrides

setPscAutoConnection(PscAutoConnection value)

public Instance.ConnectionDetail.Builder setPscAutoConnection(PscAutoConnection value)

Detailed information of a PSC connection that is created through service connectivity automation.

.google.cloud.memorystore.v1.PscAutoConnection psc_auto_connection = 1;

Parameter
Name Description
value PscAutoConnection
Returns
Type Description
Instance.ConnectionDetail.Builder

setPscAutoConnection(PscAutoConnection.Builder builderForValue)

public Instance.ConnectionDetail.Builder setPscAutoConnection(PscAutoConnection.Builder builderForValue)

Detailed information of a PSC connection that is created through service connectivity automation.

.google.cloud.memorystore.v1.PscAutoConnection psc_auto_connection = 1;

Parameter
Name Description
builderForValue PscAutoConnection.Builder
Returns
Type Description
Instance.ConnectionDetail.Builder

setPscConnection(PscConnection value)

public Instance.ConnectionDetail.Builder setPscConnection(PscConnection value)

Detailed information of a PSC connection that is created by the user.

.google.cloud.memorystore.v1.PscConnection psc_connection = 2;

Parameter
Name Description
value PscConnection
Returns
Type Description
Instance.ConnectionDetail.Builder

setPscConnection(PscConnection.Builder builderForValue)

public Instance.ConnectionDetail.Builder setPscConnection(PscConnection.Builder builderForValue)

Detailed information of a PSC connection that is created by the user.

.google.cloud.memorystore.v1.PscConnection psc_connection = 2;

Parameter
Name Description
builderForValue PscConnection.Builder
Returns
Type Description
Instance.ConnectionDetail.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Instance.ConnectionDetail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Instance.ConnectionDetail.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Instance.ConnectionDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Instance.ConnectionDetail.Builder
Overrides