Class ServiceAttachmentConnectedEndpoint.Builder (1.30.0)

public static final class ServiceAttachmentConnectedEndpoint.Builder extends GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder> implements ServiceAttachmentConnectedEndpointOrBuilder

[Output Only] A connection connected to this service attachment.

Protobuf type google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ServiceAttachmentConnectedEndpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder
Overrides

build()

public ServiceAttachmentConnectedEndpoint build()
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint

buildPartial()

public ServiceAttachmentConnectedEndpoint buildPartial()
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint

clear()

public ServiceAttachmentConnectedEndpoint.Builder clear()
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder
Overrides

clearEndpoint()

public ServiceAttachmentConnectedEndpoint.Builder clearEndpoint()

The url of a connected endpoint.

optional string endpoint = 130489749;

Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ServiceAttachmentConnectedEndpoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ServiceAttachmentConnectedEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder
Overrides

clearPscConnectionId()

public ServiceAttachmentConnectedEndpoint.Builder clearPscConnectionId()

The PSC connection id of the connected endpoint.

optional uint64 psc_connection_id = 292082397;

Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

clearStatus()

public ServiceAttachmentConnectedEndpoint.Builder clearStatus()

The status of a connected endpoint to this service attachment. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

clone()

public ServiceAttachmentConnectedEndpoint.Builder clone()
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder
Overrides

getDefaultInstanceForType()

public ServiceAttachmentConnectedEndpoint getDefaultInstanceForType()
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndpoint()

public String getEndpoint()

The url of a connected endpoint.

optional string endpoint = 130489749;

Returns
TypeDescription
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

The url of a connected endpoint.

optional string endpoint = 130489749;

Returns
TypeDescription
ByteString

The bytes for endpoint.

getPscConnectionId()

public long getPscConnectionId()

The PSC connection id of the connected endpoint.

optional uint64 psc_connection_id = 292082397;

Returns
TypeDescription
long

The pscConnectionId.

getStatus()

public String getStatus()

The status of a connected endpoint to this service attachment. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

The status of a connected endpoint to this service attachment. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
ByteString

The bytes for status.

hasEndpoint()

public boolean hasEndpoint()

The url of a connected endpoint.

optional string endpoint = 130489749;

Returns
TypeDescription
boolean

Whether the endpoint field is set.

hasPscConnectionId()

public boolean hasPscConnectionId()

The PSC connection id of the connected endpoint.

optional uint64 psc_connection_id = 292082397;

Returns
TypeDescription
boolean

Whether the pscConnectionId field is set.

hasStatus()

public boolean hasStatus()

The status of a connected endpoint to this service attachment. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ServiceAttachmentConnectedEndpoint other)

public ServiceAttachmentConnectedEndpoint.Builder mergeFrom(ServiceAttachmentConnectedEndpoint other)
Parameter
NameDescription
otherServiceAttachmentConnectedEndpoint
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ServiceAttachmentConnectedEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ServiceAttachmentConnectedEndpoint.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ServiceAttachmentConnectedEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder
Overrides

setEndpoint(String value)

public ServiceAttachmentConnectedEndpoint.Builder setEndpoint(String value)

The url of a connected endpoint.

optional string endpoint = 130489749;

Parameter
NameDescription
valueString

The endpoint to set.

Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

setEndpointBytes(ByteString value)

public ServiceAttachmentConnectedEndpoint.Builder setEndpointBytes(ByteString value)

The url of a connected endpoint.

optional string endpoint = 130489749;

Parameter
NameDescription
valueByteString

The bytes for endpoint to set.

Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ServiceAttachmentConnectedEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder
Overrides

setPscConnectionId(long value)

public ServiceAttachmentConnectedEndpoint.Builder setPscConnectionId(long value)

The PSC connection id of the connected endpoint.

optional uint64 psc_connection_id = 292082397;

Parameter
NameDescription
valuelong

The pscConnectionId to set.

Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

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

public ServiceAttachmentConnectedEndpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder
Overrides

setStatus(String value)

public ServiceAttachmentConnectedEndpoint.Builder setStatus(String value)

The status of a connected endpoint to this service attachment. Check the Status enum for the list of possible values.

optional string status = 181260274;

Parameter
NameDescription
valueString

The status to set.

Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

setStatusBytes(ByteString value)

public ServiceAttachmentConnectedEndpoint.Builder setStatusBytes(ByteString value)

The status of a connected endpoint to this service attachment. Check the Status enum for the list of possible values.

optional string status = 181260274;

Parameter
NameDescription
valueByteString

The bytes for status to set.

Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ServiceAttachmentConnectedEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder
Overrides