Package com.google.cloud.compute.v1
Class NetworkEndpointGroupPscData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NetworkEndpointGroupPscData.Builder>
com.google.cloud.compute.v1.NetworkEndpointGroupPscData.Builder
- All Implemented Interfaces:
NetworkEndpointGroupPscDataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NetworkEndpointGroupPscData
public static final class NetworkEndpointGroupPscData.Builder
extends com.google.protobuf.GeneratedMessage.Builder<NetworkEndpointGroupPscData.Builder>
implements NetworkEndpointGroupPscDataOrBuilder
All data that is specifically relevant to only network endpoint groups of type PRIVATE_SERVICE_CONNECT.Protobuf type
google.cloud.compute.v1.NetworkEndpointGroupPscData-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG typeOutput only.Output only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintThe psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG typelongOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanThe psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG typebooleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setConsumerPscAddress(String value) Output only.setConsumerPscAddressBytes(com.google.protobuf.ByteString value) Output only.setProducerPort(int value) The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG typesetPscConnectionId(long value) Output only.setPscConnectionStatus(String value) Output only.setPscConnectionStatusBytes(com.google.protobuf.ByteString value) Output only.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<NetworkEndpointGroupPscData.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<NetworkEndpointGroupPscData.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<NetworkEndpointGroupPscData.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<NetworkEndpointGroupPscData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NetworkEndpointGroupPscData.Builder>
-
mergeFrom
public NetworkEndpointGroupPscData.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<NetworkEndpointGroupPscData.Builder>- Throws:
IOException
-
hasConsumerPscAddress
public boolean hasConsumerPscAddress()Output only. [Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.
optional string consumer_psc_address = 452646572;- Specified by:
hasConsumerPscAddressin interfaceNetworkEndpointGroupPscDataOrBuilder- Returns:
- Whether the consumerPscAddress field is set.
-
getConsumerPscAddress
Output only. [Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.
optional string consumer_psc_address = 452646572;- Specified by:
getConsumerPscAddressin interfaceNetworkEndpointGroupPscDataOrBuilder- Returns:
- The consumerPscAddress.
-
getConsumerPscAddressBytes
public com.google.protobuf.ByteString getConsumerPscAddressBytes()Output only. [Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.
optional string consumer_psc_address = 452646572;- Specified by:
getConsumerPscAddressBytesin interfaceNetworkEndpointGroupPscDataOrBuilder- Returns:
- The bytes for consumerPscAddress.
-
setConsumerPscAddress
Output only. [Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.
optional string consumer_psc_address = 452646572;- Parameters:
value- The consumerPscAddress to set.- Returns:
- This builder for chaining.
-
clearConsumerPscAddress
Output only. [Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.
optional string consumer_psc_address = 452646572;- Returns:
- This builder for chaining.
-
setConsumerPscAddressBytes
public NetworkEndpointGroupPscData.Builder setConsumerPscAddressBytes(com.google.protobuf.ByteString value) Output only. [Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.
optional string consumer_psc_address = 452646572;- Parameters:
value- The bytes for consumerPscAddress to set.- Returns:
- This builder for chaining.
-
hasProducerPort
public boolean hasProducerPort()The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG type
optional int32 producer_port = 410021134;- Specified by:
hasProducerPortin interfaceNetworkEndpointGroupPscDataOrBuilder- Returns:
- Whether the producerPort field is set.
-
getProducerPort
public int getProducerPort()The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG type
optional int32 producer_port = 410021134;- Specified by:
getProducerPortin interfaceNetworkEndpointGroupPscDataOrBuilder- Returns:
- The producerPort.
-
setProducerPort
The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG type
optional int32 producer_port = 410021134;- Parameters:
value- The producerPort to set.- Returns:
- This builder for chaining.
-
clearProducerPort
The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG type
optional int32 producer_port = 410021134;- Returns:
- This builder for chaining.
-
hasPscConnectionId
public boolean hasPscConnectionId()Output only. [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.
optional uint64 psc_connection_id = 292082397;- Specified by:
hasPscConnectionIdin interfaceNetworkEndpointGroupPscDataOrBuilder- Returns:
- Whether the pscConnectionId field is set.
-
getPscConnectionId
public long getPscConnectionId()Output only. [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.
optional uint64 psc_connection_id = 292082397;- Specified by:
getPscConnectionIdin interfaceNetworkEndpointGroupPscDataOrBuilder- Returns:
- The pscConnectionId.
-
setPscConnectionId
Output only. [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.
optional uint64 psc_connection_id = 292082397;- Parameters:
value- The pscConnectionId to set.- Returns:
- This builder for chaining.
-
clearPscConnectionId
Output only. [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.
optional uint64 psc_connection_id = 292082397;- Returns:
- This builder for chaining.
-
hasPscConnectionStatus
public boolean hasPscConnectionStatus()Output only. [Output Only] The connection status of the PSC Forwarding Rule. Check the PscConnectionStatus enum for the list of possible values.
optional string psc_connection_status = 184149172;- Specified by:
hasPscConnectionStatusin interfaceNetworkEndpointGroupPscDataOrBuilder- Returns:
- Whether the pscConnectionStatus field is set.
-
getPscConnectionStatus
Output only. [Output Only] The connection status of the PSC Forwarding Rule. Check the PscConnectionStatus enum for the list of possible values.
optional string psc_connection_status = 184149172;- Specified by:
getPscConnectionStatusin interfaceNetworkEndpointGroupPscDataOrBuilder- Returns:
- The pscConnectionStatus.
-
getPscConnectionStatusBytes
public com.google.protobuf.ByteString getPscConnectionStatusBytes()Output only. [Output Only] The connection status of the PSC Forwarding Rule. Check the PscConnectionStatus enum for the list of possible values.
optional string psc_connection_status = 184149172;- Specified by:
getPscConnectionStatusBytesin interfaceNetworkEndpointGroupPscDataOrBuilder- Returns:
- The bytes for pscConnectionStatus.
-
setPscConnectionStatus
Output only. [Output Only] The connection status of the PSC Forwarding Rule. Check the PscConnectionStatus enum for the list of possible values.
optional string psc_connection_status = 184149172;- Parameters:
value- The pscConnectionStatus to set.- Returns:
- This builder for chaining.
-
clearPscConnectionStatus
Output only. [Output Only] The connection status of the PSC Forwarding Rule. Check the PscConnectionStatus enum for the list of possible values.
optional string psc_connection_status = 184149172;- Returns:
- This builder for chaining.
-
setPscConnectionStatusBytes
public NetworkEndpointGroupPscData.Builder setPscConnectionStatusBytes(com.google.protobuf.ByteString value) Output only. [Output Only] The connection status of the PSC Forwarding Rule. Check the PscConnectionStatus enum for the list of possible values.
optional string psc_connection_status = 184149172;- Parameters:
value- The bytes for pscConnectionStatus to set.- Returns:
- This builder for chaining.
-