Package com.google.cloud.compute.v1
Class ServiceAttachmentConnectedEndpoint.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
- com.google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint.Builder
-
- All Implemented Interfaces:
ServiceAttachmentConnectedEndpointOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ServiceAttachmentConnectedEndpoint
public static final class ServiceAttachmentConnectedEndpoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder> implements ServiceAttachmentConnectedEndpointOrBuilder
[Output Only] A connection connected to this service attachment.
Protobuf typegoogle.cloud.compute.v1.ServiceAttachmentConnectedEndpoint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceAttachmentConnectedEndpoint.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ServiceAttachmentConnectedEndpoint
build()
ServiceAttachmentConnectedEndpoint
buildPartial()
ServiceAttachmentConnectedEndpoint.Builder
clear()
ServiceAttachmentConnectedEndpoint.Builder
clearConsumerNetwork()
The url of the consumer network.ServiceAttachmentConnectedEndpoint.Builder
clearEndpoint()
The url of a connected endpoint.ServiceAttachmentConnectedEndpoint.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ServiceAttachmentConnectedEndpoint.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ServiceAttachmentConnectedEndpoint.Builder
clearPscConnectionId()
The PSC connection id of the connected endpoint.ServiceAttachmentConnectedEndpoint.Builder
clearStatus()
The status of a connected endpoint to this service attachment.ServiceAttachmentConnectedEndpoint.Builder
clone()
String
getConsumerNetwork()
The url of the consumer network.com.google.protobuf.ByteString
getConsumerNetworkBytes()
The url of the consumer network.ServiceAttachmentConnectedEndpoint
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getEndpoint()
The url of a connected endpoint.com.google.protobuf.ByteString
getEndpointBytes()
The url of a connected endpoint.long
getPscConnectionId()
The PSC connection id of the connected endpoint.String
getStatus()
The status of a connected endpoint to this service attachment.com.google.protobuf.ByteString
getStatusBytes()
The status of a connected endpoint to this service attachment.boolean
hasConsumerNetwork()
The url of the consumer network.boolean
hasEndpoint()
The url of a connected endpoint.boolean
hasPscConnectionId()
The PSC connection id of the connected endpoint.boolean
hasStatus()
The status of a connected endpoint to this service attachment.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ServiceAttachmentConnectedEndpoint.Builder
mergeFrom(ServiceAttachmentConnectedEndpoint other)
ServiceAttachmentConnectedEndpoint.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServiceAttachmentConnectedEndpoint.Builder
mergeFrom(com.google.protobuf.Message other)
ServiceAttachmentConnectedEndpoint.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ServiceAttachmentConnectedEndpoint.Builder
setConsumerNetwork(String value)
The url of the consumer network.ServiceAttachmentConnectedEndpoint.Builder
setConsumerNetworkBytes(com.google.protobuf.ByteString value)
The url of the consumer network.ServiceAttachmentConnectedEndpoint.Builder
setEndpoint(String value)
The url of a connected endpoint.ServiceAttachmentConnectedEndpoint.Builder
setEndpointBytes(com.google.protobuf.ByteString value)
The url of a connected endpoint.ServiceAttachmentConnectedEndpoint.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ServiceAttachmentConnectedEndpoint.Builder
setPscConnectionId(long value)
The PSC connection id of the connected endpoint.ServiceAttachmentConnectedEndpoint.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ServiceAttachmentConnectedEndpoint.Builder
setStatus(String value)
The status of a connected endpoint to this service attachment.ServiceAttachmentConnectedEndpoint.Builder
setStatusBytes(com.google.protobuf.ByteString value)
The status of a connected endpoint to this service attachment.ServiceAttachmentConnectedEndpoint.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
clear
public ServiceAttachmentConnectedEndpoint.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
getDefaultInstanceForType
public ServiceAttachmentConnectedEndpoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ServiceAttachmentConnectedEndpoint build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ServiceAttachmentConnectedEndpoint buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ServiceAttachmentConnectedEndpoint.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
setField
public ServiceAttachmentConnectedEndpoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
clearField
public ServiceAttachmentConnectedEndpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
clearOneof
public ServiceAttachmentConnectedEndpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
setRepeatedField
public ServiceAttachmentConnectedEndpoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
addRepeatedField
public ServiceAttachmentConnectedEndpoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
mergeFrom
public ServiceAttachmentConnectedEndpoint.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
mergeFrom
public ServiceAttachmentConnectedEndpoint.Builder mergeFrom(ServiceAttachmentConnectedEndpoint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
mergeFrom
public ServiceAttachmentConnectedEndpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ServiceAttachmentConnectedEndpoint.Builder>
- Throws:
IOException
-
hasConsumerNetwork
public boolean hasConsumerNetwork()
The url of the consumer network.
optional string consumer_network = 254357221;
- Specified by:
hasConsumerNetwork
in interfaceServiceAttachmentConnectedEndpointOrBuilder
- Returns:
- Whether the consumerNetwork field is set.
-
getConsumerNetwork
public String getConsumerNetwork()
The url of the consumer network.
optional string consumer_network = 254357221;
- Specified by:
getConsumerNetwork
in interfaceServiceAttachmentConnectedEndpointOrBuilder
- Returns:
- The consumerNetwork.
-
getConsumerNetworkBytes
public com.google.protobuf.ByteString getConsumerNetworkBytes()
The url of the consumer network.
optional string consumer_network = 254357221;
- Specified by:
getConsumerNetworkBytes
in interfaceServiceAttachmentConnectedEndpointOrBuilder
- Returns:
- The bytes for consumerNetwork.
-
setConsumerNetwork
public ServiceAttachmentConnectedEndpoint.Builder setConsumerNetwork(String value)
The url of the consumer network.
optional string consumer_network = 254357221;
- Parameters:
value
- The consumerNetwork to set.- Returns:
- This builder for chaining.
-
clearConsumerNetwork
public ServiceAttachmentConnectedEndpoint.Builder clearConsumerNetwork()
The url of the consumer network.
optional string consumer_network = 254357221;
- Returns:
- This builder for chaining.
-
setConsumerNetworkBytes
public ServiceAttachmentConnectedEndpoint.Builder setConsumerNetworkBytes(com.google.protobuf.ByteString value)
The url of the consumer network.
optional string consumer_network = 254357221;
- Parameters:
value
- The bytes for consumerNetwork to set.- Returns:
- This builder for chaining.
-
hasEndpoint
public boolean hasEndpoint()
The url of a connected endpoint.
optional string endpoint = 130489749;
- Specified by:
hasEndpoint
in interfaceServiceAttachmentConnectedEndpointOrBuilder
- Returns:
- Whether the endpoint field is set.
-
getEndpoint
public String getEndpoint()
The url of a connected endpoint.
optional string endpoint = 130489749;
- Specified by:
getEndpoint
in interfaceServiceAttachmentConnectedEndpointOrBuilder
- Returns:
- The endpoint.
-
getEndpointBytes
public com.google.protobuf.ByteString getEndpointBytes()
The url of a connected endpoint.
optional string endpoint = 130489749;
- Specified by:
getEndpointBytes
in interfaceServiceAttachmentConnectedEndpointOrBuilder
- Returns:
- The bytes for endpoint.
-
setEndpoint
public ServiceAttachmentConnectedEndpoint.Builder setEndpoint(String value)
The url of a connected endpoint.
optional string endpoint = 130489749;
- Parameters:
value
- The endpoint to set.- Returns:
- This builder for chaining.
-
clearEndpoint
public ServiceAttachmentConnectedEndpoint.Builder clearEndpoint()
The url of a connected endpoint.
optional string endpoint = 130489749;
- Returns:
- This builder for chaining.
-
setEndpointBytes
public ServiceAttachmentConnectedEndpoint.Builder setEndpointBytes(com.google.protobuf.ByteString value)
The url of a connected endpoint.
optional string endpoint = 130489749;
- Parameters:
value
- The bytes for endpoint to set.- Returns:
- This builder for chaining.
-
hasPscConnectionId
public boolean hasPscConnectionId()
The PSC connection id of the connected endpoint.
optional uint64 psc_connection_id = 292082397;
- Specified by:
hasPscConnectionId
in interfaceServiceAttachmentConnectedEndpointOrBuilder
- Returns:
- Whether the pscConnectionId field is set.
-
getPscConnectionId
public long getPscConnectionId()
The PSC connection id of the connected endpoint.
optional uint64 psc_connection_id = 292082397;
- Specified by:
getPscConnectionId
in interfaceServiceAttachmentConnectedEndpointOrBuilder
- Returns:
- The pscConnectionId.
-
setPscConnectionId
public ServiceAttachmentConnectedEndpoint.Builder setPscConnectionId(long value)
The PSC connection id of the connected endpoint.
optional uint64 psc_connection_id = 292082397;
- Parameters:
value
- The pscConnectionId to set.- Returns:
- This builder for chaining.
-
clearPscConnectionId
public ServiceAttachmentConnectedEndpoint.Builder clearPscConnectionId()
The PSC connection id of the connected endpoint.
optional uint64 psc_connection_id = 292082397;
- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasStatus
in interfaceServiceAttachmentConnectedEndpointOrBuilder
- Returns:
- Whether the status field is set.
-
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;
- Specified by:
getStatus
in interfaceServiceAttachmentConnectedEndpointOrBuilder
- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.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;
- Specified by:
getStatusBytes
in interfaceServiceAttachmentConnectedEndpointOrBuilder
- Returns:
- The bytes for status.
-
setStatus
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;
- Parameters:
value
- The status to set.- Returns:
- 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:
- This builder for chaining.
-
setStatusBytes
public ServiceAttachmentConnectedEndpoint.Builder setStatusBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for status to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ServiceAttachmentConnectedEndpoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
mergeUnknownFields
public final ServiceAttachmentConnectedEndpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
-