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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ServiceAttachmentConnectedEndpoint.BuilderImplements
ServiceAttachmentConnectedEndpointOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllNatIps(Iterable<String> values)
public ServiceAttachmentConnectedEndpoint.Builder addAllNatIps(Iterable<String> values)NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The natIps to add. |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
addNatIps(String value)
public ServiceAttachmentConnectedEndpoint.Builder addNatIps(String value)NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe natIps to add. |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
addNatIpsBytes(ByteString value)
public ServiceAttachmentConnectedEndpoint.Builder addNatIpsBytes(ByteString value)NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the natIps to add. |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServiceAttachmentConnectedEndpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
|
build()
public ServiceAttachmentConnectedEndpoint build()| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint |
|
buildPartial()
public ServiceAttachmentConnectedEndpoint buildPartial()| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint |
|
clear()
public ServiceAttachmentConnectedEndpoint.Builder clear()| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
|
clearConsumerNetwork()
public ServiceAttachmentConnectedEndpoint.Builder clearConsumerNetwork()The url of the consumer network.
optional string consumer_network = 254357221;
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
clearEndpoint()
public ServiceAttachmentConnectedEndpoint.Builder clearEndpoint()The url of a connected endpoint.
optional string endpoint = 130489749;
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ServiceAttachmentConnectedEndpoint.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
|
clearNatIps()
public ServiceAttachmentConnectedEndpoint.Builder clearNatIps()NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ServiceAttachmentConnectedEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
|
clearPropagatedConnectionCount()
public ServiceAttachmentConnectedEndpoint.Builder 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 | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
clearPscConnectionId()
public ServiceAttachmentConnectedEndpoint.Builder clearPscConnectionId()The PSC connection id of the connected endpoint.
optional uint64 psc_connection_id = 292082397;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
clone()
public ServiceAttachmentConnectedEndpoint.Builder clone()| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
|
getConsumerNetwork()
public String getConsumerNetwork()The url of the consumer network.
optional string consumer_network = 254357221;
| Returns | |
|---|---|
| Type | Description |
String |
The consumerNetwork. |
getConsumerNetworkBytes()
public ByteString getConsumerNetworkBytes()The url of the consumer network.
optional string consumer_network = 254357221;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for consumerNetwork. |
getDefaultInstanceForType()
public ServiceAttachmentConnectedEndpoint getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndpoint()
public String getEndpoint()The url of a connected endpoint.
optional string endpoint = 130489749;
| Returns | |
|---|---|
| Type | Description |
String |
The endpoint. |
getEndpointBytes()
public ByteString getEndpointBytes()The url of a connected endpoint.
optional string endpoint = 130489749;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for endpoint. |
getNatIps(int index)
public String getNatIps(int index)NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The natIps at the given index. |
getNatIpsBytes(int index)
public ByteString getNatIpsBytes(int index)NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the natIps at the given index. |
getNatIpsCount()
public int getNatIpsCount()NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;
| Returns | |
|---|---|
| Type | Description |
int |
The count of natIps. |
getNatIpsList()
public ProtocolStringList getNatIpsList()NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the natIps. |
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;
| Returns | |
|---|---|
| Type | Description |
int |
The propagatedConnectionCount. |
getPscConnectionId()
public long getPscConnectionId()The PSC connection id of the connected endpoint.
optional uint64 psc_connection_id = 292082397;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for status. |
hasConsumerNetwork()
public boolean hasConsumerNetwork()The url of the consumer network.
optional string consumer_network = 254357221;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the consumerNetwork field is set. |
hasEndpoint()
public boolean hasEndpoint()The url of a connected endpoint.
optional string endpoint = 130489749;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endpoint field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the propagatedConnectionCount field is set. |
hasPscConnectionId()
public boolean hasPscConnectionId()The PSC connection id of the connected endpoint.
optional uint64 psc_connection_id = 292082397;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the status field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ServiceAttachmentConnectedEndpoint other)
public ServiceAttachmentConnectedEndpoint.Builder mergeFrom(ServiceAttachmentConnectedEndpoint other)| Parameter | |
|---|---|
| Name | Description |
other |
ServiceAttachmentConnectedEndpoint |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServiceAttachmentConnectedEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ServiceAttachmentConnectedEndpoint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAttachmentConnectedEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
|
setConsumerNetwork(String value)
public ServiceAttachmentConnectedEndpoint.Builder setConsumerNetwork(String value)The url of the consumer network.
optional string consumer_network = 254357221;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe consumerNetwork to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setConsumerNetworkBytes(ByteString value)
public ServiceAttachmentConnectedEndpoint.Builder setConsumerNetworkBytes(ByteString value)The url of the consumer network.
optional string consumer_network = 254357221;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for consumerNetwork to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setEndpoint(String value)
public ServiceAttachmentConnectedEndpoint.Builder setEndpoint(String value)The url of a connected endpoint.
optional string endpoint = 130489749;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe endpoint to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for endpoint to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ServiceAttachmentConnectedEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
|
setNatIps(int index, String value)
public ServiceAttachmentConnectedEndpoint.Builder setNatIps(int index, String value)NAT IPs of the connected PSC endpoint and those of other endpoints propagated from it.
repeated string nat_ips = 117635086;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe natIps to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setPropagatedConnectionCount(int value)
public ServiceAttachmentConnectedEndpoint.Builder setPropagatedConnectionCount(int value)The number of consumer Network Connectivity Center spokes that the connected Private Service Connect endpoint has propagated to.
optional uint32 propagated_connection_count = 324594130;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe propagatedConnectionCount to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setPscConnectionId(long value)
public ServiceAttachmentConnectedEndpoint.Builder setPscConnectionId(long value)The PSC connection id of the connected endpoint.
optional uint64 psc_connection_id = 292082397;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe pscConnectionId to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
StringThe status to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for status to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAttachmentConnectedEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConnectedEndpoint.Builder |
|