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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ServiceAttachmentConnectedEndpointbuild()ServiceAttachmentConnectedEndpointbuildPartial()ServiceAttachmentConnectedEndpoint.Builderclear()ServiceAttachmentConnectedEndpoint.BuilderclearConsumerNetwork()The url of the consumer network.ServiceAttachmentConnectedEndpoint.BuilderclearEndpoint()The url of a connected endpoint.ServiceAttachmentConnectedEndpoint.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ServiceAttachmentConnectedEndpoint.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ServiceAttachmentConnectedEndpoint.BuilderclearPscConnectionId()The PSC connection id of the connected endpoint.ServiceAttachmentConnectedEndpoint.BuilderclearStatus()The status of a connected endpoint to this service attachment.ServiceAttachmentConnectedEndpoint.Builderclone()StringgetConsumerNetwork()The url of the consumer network.com.google.protobuf.ByteStringgetConsumerNetworkBytes()The url of the consumer network.ServiceAttachmentConnectedEndpointgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEndpoint()The url of a connected endpoint.com.google.protobuf.ByteStringgetEndpointBytes()The url of a connected endpoint.longgetPscConnectionId()The PSC connection id of the connected endpoint.StringgetStatus()The status of a connected endpoint to this service attachment.com.google.protobuf.ByteStringgetStatusBytes()The status of a connected endpoint to this service attachment.booleanhasConsumerNetwork()The url of the consumer network.booleanhasEndpoint()The url of a connected endpoint.booleanhasPscConnectionId()The PSC connection id of the connected endpoint.booleanhasStatus()The status of a connected endpoint to this service attachment.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ServiceAttachmentConnectedEndpoint.BuildermergeFrom(ServiceAttachmentConnectedEndpoint other)ServiceAttachmentConnectedEndpoint.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ServiceAttachmentConnectedEndpoint.BuildermergeFrom(com.google.protobuf.Message other)ServiceAttachmentConnectedEndpoint.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ServiceAttachmentConnectedEndpoint.BuildersetConsumerNetwork(String value)The url of the consumer network.ServiceAttachmentConnectedEndpoint.BuildersetConsumerNetworkBytes(com.google.protobuf.ByteString value)The url of the consumer network.ServiceAttachmentConnectedEndpoint.BuildersetEndpoint(String value)The url of a connected endpoint.ServiceAttachmentConnectedEndpoint.BuildersetEndpointBytes(com.google.protobuf.ByteString value)The url of a connected endpoint.ServiceAttachmentConnectedEndpoint.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ServiceAttachmentConnectedEndpoint.BuildersetPscConnectionId(long value)The PSC connection id of the connected endpoint.ServiceAttachmentConnectedEndpoint.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ServiceAttachmentConnectedEndpoint.BuildersetStatus(String value)The status of a connected endpoint to this service attachment.ServiceAttachmentConnectedEndpoint.BuildersetStatusBytes(com.google.protobuf.ByteString value)The status of a connected endpoint to this service attachment.ServiceAttachmentConnectedEndpoint.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
clear
public ServiceAttachmentConnectedEndpoint.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
getDefaultInstanceForType
public ServiceAttachmentConnectedEndpoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ServiceAttachmentConnectedEndpoint build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ServiceAttachmentConnectedEndpoint buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ServiceAttachmentConnectedEndpoint.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
setField
public ServiceAttachmentConnectedEndpoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
clearField
public ServiceAttachmentConnectedEndpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
clearOneof
public ServiceAttachmentConnectedEndpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
setRepeatedField
public ServiceAttachmentConnectedEndpoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
addRepeatedField
public ServiceAttachmentConnectedEndpoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
mergeFrom
public ServiceAttachmentConnectedEndpoint.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
mergeFrom
public ServiceAttachmentConnectedEndpoint.Builder mergeFrom(ServiceAttachmentConnectedEndpoint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasConsumerNetworkin 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:
getConsumerNetworkin interfaceServiceAttachmentConnectedEndpointOrBuilder- Returns:
- The consumerNetwork.
-
getConsumerNetworkBytes
public com.google.protobuf.ByteString getConsumerNetworkBytes()
The url of the consumer network.
optional string consumer_network = 254357221;- Specified by:
getConsumerNetworkBytesin 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:
hasEndpointin interfaceServiceAttachmentConnectedEndpointOrBuilder- Returns:
- Whether the endpoint field is set.
-
getEndpoint
public String getEndpoint()
The url of a connected endpoint.
optional string endpoint = 130489749;- Specified by:
getEndpointin interfaceServiceAttachmentConnectedEndpointOrBuilder- Returns:
- The endpoint.
-
getEndpointBytes
public com.google.protobuf.ByteString getEndpointBytes()
The url of a connected endpoint.
optional string endpoint = 130489749;- Specified by:
getEndpointBytesin 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:
hasPscConnectionIdin 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:
getPscConnectionIdin 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:
hasStatusin 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:
getStatusin 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:
getStatusBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
mergeUnknownFields
public final ServiceAttachmentConnectedEndpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
-