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.GeneratedMessage.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.GeneratedMessage.Builder<ServiceAttachmentConnectedEndpoint.Builder>
implements ServiceAttachmentConnectedEndpointOrBuilder
[Output Only] A connection connected to this service attachment.Protobuf type
google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint-
Method Summary
Modifier and TypeMethodDescriptionaddAllNatIps(Iterable<String> values) NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.addNatIpsBytes(com.google.protobuf.ByteString value) NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.build()clear()The url of the consumer network.The url of a connected endpoint.The url of a connected endpoint with resource id.NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.The number of consumer Network Connectivity Center spokes that the connected Private Service Connect endpoint has propagated to.The PSC connection id of the connected endpoint.The status of a connected endpoint to this service attachment.The url of the consumer network.com.google.protobuf.ByteStringThe url of the consumer network.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe url of a connected endpoint.com.google.protobuf.ByteStringThe url of a connected endpoint.The url of a connected endpoint with resource id.com.google.protobuf.ByteStringThe url of a connected endpoint with resource id.getNatIps(int index) NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.com.google.protobuf.ByteStringgetNatIpsBytes(int index) NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.intNAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.com.google.protobuf.ProtocolStringListNAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.intThe number of consumer Network Connectivity Center spokes that the connected Private Service Connect endpoint has propagated to.longThe PSC connection id of the connected endpoint.The status of a connected endpoint to this service attachment.com.google.protobuf.ByteStringThe status of a connected endpoint to this service attachment.booleanThe url of the consumer network.booleanThe url of a connected endpoint.booleanThe url of a connected endpoint with resource id.booleanThe number of consumer Network Connectivity Center spokes that the connected Private Service Connect endpoint has propagated to.booleanThe PSC connection id of the connected endpoint.booleanThe status of a connected endpoint to this service attachment.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setConsumerNetwork(String value) The url of the consumer network.setConsumerNetworkBytes(com.google.protobuf.ByteString value) The url of the consumer network.setEndpoint(String value) The url of a connected endpoint.setEndpointBytes(com.google.protobuf.ByteString value) The url of a connected endpoint.setEndpointWithId(String value) The url of a connected endpoint with resource id.setEndpointWithIdBytes(com.google.protobuf.ByteString value) The url of a connected endpoint with resource id.NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.setPropagatedConnectionCount(int value) The number of consumer Network Connectivity Center spokes that the connected Private Service Connect endpoint has propagated to.setPscConnectionId(long value) The PSC connection id of the connected endpoint.The status of a connected endpoint to this service attachment.setStatusBytes(com.google.protobuf.ByteString value) The status of a connected endpoint to this service attachment.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<ServiceAttachmentConnectedEndpoint.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- 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.GeneratedMessage.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
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
The url of the consumer network.
optional string consumer_network = 254357221;- Parameters:
value- The consumerNetwork to set.- Returns:
- This builder for chaining.
-
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
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
The url of a connected endpoint.
optional string endpoint = 130489749;- Parameters:
value- The endpoint to set.- Returns:
- This builder for chaining.
-
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.
-
hasEndpointWithId
public boolean hasEndpointWithId()The url of a connected endpoint with resource id.
optional string endpoint_with_id = 444867210;- Specified by:
hasEndpointWithIdin interfaceServiceAttachmentConnectedEndpointOrBuilder- Returns:
- Whether the endpointWithId field is set.
-
getEndpointWithId
The url of a connected endpoint with resource id.
optional string endpoint_with_id = 444867210;- Specified by:
getEndpointWithIdin interfaceServiceAttachmentConnectedEndpointOrBuilder- Returns:
- The endpointWithId.
-
getEndpointWithIdBytes
public com.google.protobuf.ByteString getEndpointWithIdBytes()The url of a connected endpoint with resource id.
optional string endpoint_with_id = 444867210;- Specified by:
getEndpointWithIdBytesin interfaceServiceAttachmentConnectedEndpointOrBuilder- Returns:
- The bytes for endpointWithId.
-
setEndpointWithId
The url of a connected endpoint with resource id.
optional string endpoint_with_id = 444867210;- Parameters:
value- The endpointWithId to set.- Returns:
- This builder for chaining.
-
clearEndpointWithId
The url of a connected endpoint with resource id.
optional string endpoint_with_id = 444867210;- Returns:
- This builder for chaining.
-
setEndpointWithIdBytes
public ServiceAttachmentConnectedEndpoint.Builder setEndpointWithIdBytes(com.google.protobuf.ByteString value) The url of a connected endpoint with resource id.
optional string endpoint_with_id = 444867210;- Parameters:
value- The bytes for endpointWithId to set.- Returns:
- This builder for chaining.
-
getNatIpsList
public com.google.protobuf.ProtocolStringList getNatIpsList()NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;- Specified by:
getNatIpsListin interfaceServiceAttachmentConnectedEndpointOrBuilder- Returns:
- A list containing the natIps.
-
getNatIpsCount
public int getNatIpsCount()NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;- Specified by:
getNatIpsCountin interfaceServiceAttachmentConnectedEndpointOrBuilder- Returns:
- The count of natIps.
-
getNatIps
NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;- Specified by:
getNatIpsin interfaceServiceAttachmentConnectedEndpointOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The natIps at the given index.
-
getNatIpsBytes
public com.google.protobuf.ByteString getNatIpsBytes(int index) NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;- Specified by:
getNatIpsBytesin interfaceServiceAttachmentConnectedEndpointOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the natIps at the given index.
-
setNatIps
NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;- Parameters:
index- The index to set the value at.value- The natIps to set.- Returns:
- This builder for chaining.
-
addNatIps
NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;- Parameters:
value- The natIps to add.- Returns:
- This builder for chaining.
-
addAllNatIps
NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;- Parameters:
values- The natIps to add.- Returns:
- This builder for chaining.
-
clearNatIps
NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;- Returns:
- This builder for chaining.
-
addNatIpsBytes
public ServiceAttachmentConnectedEndpoint.Builder addNatIpsBytes(com.google.protobuf.ByteString value) NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;- Parameters:
value- The bytes of the natIps to add.- Returns:
- This builder for chaining.
-
hasPropagatedConnectionCount
public boolean hasPropagatedConnectionCount()The number of consumer Network Connectivity Center spokes that the connected Private Service Connect endpoint has propagated to.
optional uint32 propagated_connection_count = 324594130;- Specified by:
hasPropagatedConnectionCountin interfaceServiceAttachmentConnectedEndpointOrBuilder- Returns:
- Whether the propagatedConnectionCount field is set.
-
getPropagatedConnectionCount
public int getPropagatedConnectionCount()The number of consumer Network Connectivity Center spokes that the connected Private Service Connect endpoint has propagated to.
optional uint32 propagated_connection_count = 324594130;- Specified by:
getPropagatedConnectionCountin interfaceServiceAttachmentConnectedEndpointOrBuilder- Returns:
- The propagatedConnectionCount.
-
setPropagatedConnectionCount
The number of consumer Network Connectivity Center spokes that the connected Private Service Connect endpoint has propagated to.
optional uint32 propagated_connection_count = 324594130;- Parameters:
value- The propagatedConnectionCount to set.- Returns:
- This builder for chaining.
-
clearPropagatedConnectionCount
The number of consumer Network Connectivity Center spokes that the connected Private Service Connect endpoint has propagated to.
optional uint32 propagated_connection_count = 324594130;- 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
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
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
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
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
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.
-