Class Spoke
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkconnectivity.v1beta.Spoke
- All Implemented Interfaces:
SpokeOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Spoke
extends com.google.protobuf.GeneratedMessage
implements SpokeOrBuilder
A Network Connectivity Center spoke represents one or more network connectivity resources. When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields: * linked_vpn_tunnels * linked_interconnect_attachments * linked_router_appliance_instances * linked_vpc_networkProtobuf type
google.cloud.networkconnectivity.v1beta.Spoke- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA Network Connectivity Center spoke represents one or more network connectivity resources.static final classThe reason for the current state of the spoke.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional labels in key-value pair format.booleancom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static SpokeOptional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.DescriptorgetEtag()Optional.com.google.protobuf.ByteStringOptional.getFieldPathsPendingUpdate(int index) Optional.com.google.protobuf.ByteStringgetFieldPathsPendingUpdateBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Optional.Optional.getGroup()Optional.com.google.protobuf.ByteStringOptional.getHub()Immutable.com.google.protobuf.ByteStringImmutable.Deprecated.intOptional labels in key-value pair format.Optional labels in key-value pair format.getLabelsOrDefault(String key, String defaultValue) Optional labels in key-value pair format.getLabelsOrThrow(String key) Optional labels in key-value pair format.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.getName()Immutable.com.google.protobuf.ByteStringImmutable.com.google.protobuf.Parser<Spoke>getReasons(int index) Output only.intOutput only.Output only.getReasonsOrBuilder(int index) Output only.List<? extends Spoke.StateReasonOrBuilder>Output only.intOutput only.intOutput only.getState()Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOptional.inthashCode()booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Spoke.Builderstatic Spoke.BuildernewBuilder(Spoke prototype) protected Spoke.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SpokeparseDelimitedFrom(InputStream input) static SpokeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SpokeparseFrom(byte[] data) static SpokeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SpokeparseFrom(com.google.protobuf.ByteString data) static SpokeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SpokeparseFrom(com.google.protobuf.CodedInputStream input) static SpokeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SpokeparseFrom(InputStream input) static SpokeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SpokeparseFrom(ByteBuffer data) static SpokeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Spoke>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
HUB_FIELD_NUMBER
public static final int HUB_FIELD_NUMBER- See Also:
-
GROUP_FIELD_NUMBER
public static final int GROUP_FIELD_NUMBER- See Also:
-
LINKED_VPN_TUNNELS_FIELD_NUMBER
public static final int LINKED_VPN_TUNNELS_FIELD_NUMBER- See Also:
-
LINKED_INTERCONNECT_ATTACHMENTS_FIELD_NUMBER
public static final int LINKED_INTERCONNECT_ATTACHMENTS_FIELD_NUMBER- See Also:
-
LINKED_ROUTER_APPLIANCE_INSTANCES_FIELD_NUMBER
public static final int LINKED_ROUTER_APPLIANCE_INSTANCES_FIELD_NUMBER- See Also:
-
LINKED_VPC_NETWORK_FIELD_NUMBER
public static final int LINKED_VPC_NETWORK_FIELD_NUMBER- See Also:
-
GATEWAY_FIELD_NUMBER
public static final int GATEWAY_FIELD_NUMBER- See Also:
-
LINKED_PRODUCER_VPC_NETWORK_FIELD_NUMBER
public static final int LINKED_PRODUCER_VPC_NETWORK_FIELD_NUMBER- See Also:
-
UNIQUE_ID_FIELD_NUMBER
public static final int UNIQUE_ID_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
REASONS_FIELD_NUMBER
public static final int REASONS_FIELD_NUMBER- See Also:
-
SPOKE_TYPE_FIELD_NUMBER
public static final int SPOKE_TYPE_FIELD_NUMBER- See Also:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
FIELD_PATHS_PENDING_UPDATE_FIELD_NUMBER
public static final int FIELD_PATHS_PENDING_UPDATE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}`string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNamein interfaceSpokeOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}`string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNameBytesin interfaceSpokeOrBuilder- Returns:
- The bytes for name.
-
hasCreateTime
public boolean hasCreateTime()Output only. The time the spoke was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceSpokeOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time the spoke was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceSpokeOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time the spoke was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceSpokeOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The time the spoke was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceSpokeOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The time the spoke was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceSpokeOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time the spoke was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceSpokeOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:SpokeOrBuilderOptional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceSpokeOrBuilder
-
containsLabels
Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceSpokeOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceSpokeOrBuilder
-
getLabelsMap
Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceSpokeOrBuilder
-
getLabelsOrDefault
Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceSpokeOrBuilder
-
getLabelsOrThrow
Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceSpokeOrBuilder
-
getDescription
Optional. An optional description of the spoke.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceSpokeOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. An optional description of the spoke.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceSpokeOrBuilder- Returns:
- The bytes for description.
-
getHub
Immutable. The name of the hub that this spoke is attached to.
string hub = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getHubin interfaceSpokeOrBuilder- Returns:
- The hub.
-
getHubBytes
public com.google.protobuf.ByteString getHubBytes()Immutable. The name of the hub that this spoke is attached to.
string hub = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getHubBytesin interfaceSpokeOrBuilder- Returns:
- The bytes for hub.
-
getGroup
Optional. The name of the group that this spoke is associated with.
string group = 23 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getGroupin interfaceSpokeOrBuilder- Returns:
- The group.
-
getGroupBytes
public com.google.protobuf.ByteString getGroupBytes()Optional. The name of the group that this spoke is associated with.
string group = 23 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getGroupBytesin interfaceSpokeOrBuilder- Returns:
- The bytes for group.
-
hasLinkedVpnTunnels
public boolean hasLinkedVpnTunnels()Optional. VPN tunnels that are associated with the spoke.
.google.cloud.networkconnectivity.v1beta.LinkedVpnTunnels linked_vpn_tunnels = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasLinkedVpnTunnelsin interfaceSpokeOrBuilder- Returns:
- Whether the linkedVpnTunnels field is set.
-
getLinkedVpnTunnels
Optional. VPN tunnels that are associated with the spoke.
.google.cloud.networkconnectivity.v1beta.LinkedVpnTunnels linked_vpn_tunnels = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLinkedVpnTunnelsin interfaceSpokeOrBuilder- Returns:
- The linkedVpnTunnels.
-
getLinkedVpnTunnelsOrBuilder
Optional. VPN tunnels that are associated with the spoke.
.google.cloud.networkconnectivity.v1beta.LinkedVpnTunnels linked_vpn_tunnels = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLinkedVpnTunnelsOrBuilderin interfaceSpokeOrBuilder
-
hasLinkedInterconnectAttachments
public boolean hasLinkedInterconnectAttachments()Optional. VLAN attachments that are associated with the spoke.
.google.cloud.networkconnectivity.v1beta.LinkedInterconnectAttachments linked_interconnect_attachments = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasLinkedInterconnectAttachmentsin interfaceSpokeOrBuilder- Returns:
- Whether the linkedInterconnectAttachments field is set.
-
getLinkedInterconnectAttachments
Optional. VLAN attachments that are associated with the spoke.
.google.cloud.networkconnectivity.v1beta.LinkedInterconnectAttachments linked_interconnect_attachments = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLinkedInterconnectAttachmentsin interfaceSpokeOrBuilder- Returns:
- The linkedInterconnectAttachments.
-
getLinkedInterconnectAttachmentsOrBuilder
Optional. VLAN attachments that are associated with the spoke.
.google.cloud.networkconnectivity.v1beta.LinkedInterconnectAttachments linked_interconnect_attachments = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLinkedInterconnectAttachmentsOrBuilderin interfaceSpokeOrBuilder
-
hasLinkedRouterApplianceInstances
public boolean hasLinkedRouterApplianceInstances()Optional. Router appliance instances that are associated with the spoke.
.google.cloud.networkconnectivity.v1beta.LinkedRouterApplianceInstances linked_router_appliance_instances = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasLinkedRouterApplianceInstancesin interfaceSpokeOrBuilder- Returns:
- Whether the linkedRouterApplianceInstances field is set.
-
getLinkedRouterApplianceInstances
Optional. Router appliance instances that are associated with the spoke.
.google.cloud.networkconnectivity.v1beta.LinkedRouterApplianceInstances linked_router_appliance_instances = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLinkedRouterApplianceInstancesin interfaceSpokeOrBuilder- Returns:
- The linkedRouterApplianceInstances.
-
getLinkedRouterApplianceInstancesOrBuilder
Optional. Router appliance instances that are associated with the spoke.
.google.cloud.networkconnectivity.v1beta.LinkedRouterApplianceInstances linked_router_appliance_instances = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLinkedRouterApplianceInstancesOrBuilderin interfaceSpokeOrBuilder
-
hasLinkedVpcNetwork
public boolean hasLinkedVpcNetwork()Optional. VPC network that is associated with the spoke.
.google.cloud.networkconnectivity.v1beta.LinkedVpcNetwork linked_vpc_network = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasLinkedVpcNetworkin interfaceSpokeOrBuilder- Returns:
- Whether the linkedVpcNetwork field is set.
-
getLinkedVpcNetwork
Optional. VPC network that is associated with the spoke.
.google.cloud.networkconnectivity.v1beta.LinkedVpcNetwork linked_vpc_network = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLinkedVpcNetworkin interfaceSpokeOrBuilder- Returns:
- The linkedVpcNetwork.
-
getLinkedVpcNetworkOrBuilder
Optional. VPC network that is associated with the spoke.
.google.cloud.networkconnectivity.v1beta.LinkedVpcNetwork linked_vpc_network = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLinkedVpcNetworkOrBuilderin interfaceSpokeOrBuilder
-
hasGateway
public boolean hasGateway()Optional. This is a gateway that can apply specialized processing to traffic going through it.
.google.cloud.networkconnectivity.v1beta.Gateway gateway = 24 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGatewayin interfaceSpokeOrBuilder- Returns:
- Whether the gateway field is set.
-
getGateway
Optional. This is a gateway that can apply specialized processing to traffic going through it.
.google.cloud.networkconnectivity.v1beta.Gateway gateway = 24 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGatewayin interfaceSpokeOrBuilder- Returns:
- The gateway.
-
getGatewayOrBuilder
Optional. This is a gateway that can apply specialized processing to traffic going through it.
.google.cloud.networkconnectivity.v1beta.Gateway gateway = 24 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGatewayOrBuilderin interfaceSpokeOrBuilder
-
hasLinkedProducerVpcNetwork
public boolean hasLinkedProducerVpcNetwork()Optional. The linked producer VPC that is associated with the spoke.
.google.cloud.networkconnectivity.v1beta.LinkedProducerVpcNetwork linked_producer_vpc_network = 26 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasLinkedProducerVpcNetworkin interfaceSpokeOrBuilder- Returns:
- Whether the linkedProducerVpcNetwork field is set.
-
getLinkedProducerVpcNetwork
Optional. The linked producer VPC that is associated with the spoke.
.google.cloud.networkconnectivity.v1beta.LinkedProducerVpcNetwork linked_producer_vpc_network = 26 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLinkedProducerVpcNetworkin interfaceSpokeOrBuilder- Returns:
- The linkedProducerVpcNetwork.
-
getLinkedProducerVpcNetworkOrBuilder
Optional. The linked producer VPC that is associated with the spoke.
.google.cloud.networkconnectivity.v1beta.LinkedProducerVpcNetwork linked_producer_vpc_network = 26 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLinkedProducerVpcNetworkOrBuilderin interfaceSpokeOrBuilder
-
getUniqueId
Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different `unique_id`.
string unique_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUniqueIdin interfaceSpokeOrBuilder- Returns:
- The uniqueId.
-
getUniqueIdBytes
public com.google.protobuf.ByteString getUniqueIdBytes()Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different `unique_id`.
string unique_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUniqueIdBytesin interfaceSpokeOrBuilder- Returns:
- The bytes for uniqueId.
-
getStateValue
public int getStateValue()Output only. The current lifecycle state of this spoke.
.google.cloud.networkconnectivity.v1beta.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceSpokeOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. The current lifecycle state of this spoke.
.google.cloud.networkconnectivity.v1beta.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceSpokeOrBuilder- Returns:
- The state.
-
getReasonsList
Output only. The reasons for current state of the spoke.
repeated .google.cloud.networkconnectivity.v1beta.Spoke.StateReason reasons = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReasonsListin interfaceSpokeOrBuilder
-
getReasonsOrBuilderList
Output only. The reasons for current state of the spoke.
repeated .google.cloud.networkconnectivity.v1beta.Spoke.StateReason reasons = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReasonsOrBuilderListin interfaceSpokeOrBuilder
-
getReasonsCount
public int getReasonsCount()Output only. The reasons for current state of the spoke.
repeated .google.cloud.networkconnectivity.v1beta.Spoke.StateReason reasons = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReasonsCountin interfaceSpokeOrBuilder
-
getReasons
Output only. The reasons for current state of the spoke.
repeated .google.cloud.networkconnectivity.v1beta.Spoke.StateReason reasons = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReasonsin interfaceSpokeOrBuilder
-
getReasonsOrBuilder
Output only. The reasons for current state of the spoke.
repeated .google.cloud.networkconnectivity.v1beta.Spoke.StateReason reasons = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReasonsOrBuilderin interfaceSpokeOrBuilder
-
getSpokeTypeValue
public int getSpokeTypeValue()Output only. The type of resource associated with the spoke.
.google.cloud.networkconnectivity.v1beta.SpokeType spoke_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSpokeTypeValuein interfaceSpokeOrBuilder- Returns:
- The enum numeric value on the wire for spokeType.
-
getSpokeType
Output only. The type of resource associated with the spoke.
.google.cloud.networkconnectivity.v1beta.SpokeType spoke_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSpokeTypein interfaceSpokeOrBuilder- Returns:
- The spokeType.
-
getEtag
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 27 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagin interfaceSpokeOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 27 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagBytesin interfaceSpokeOrBuilder- Returns:
- The bytes for etag.
-
getFieldPathsPendingUpdateList
public com.google.protobuf.ProtocolStringList getFieldPathsPendingUpdateList()Optional. The list of fields waiting for hub administrator's approval.
repeated string field_paths_pending_update = 28 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFieldPathsPendingUpdateListin interfaceSpokeOrBuilder- Returns:
- A list containing the fieldPathsPendingUpdate.
-
getFieldPathsPendingUpdateCount
public int getFieldPathsPendingUpdateCount()Optional. The list of fields waiting for hub administrator's approval.
repeated string field_paths_pending_update = 28 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFieldPathsPendingUpdateCountin interfaceSpokeOrBuilder- Returns:
- The count of fieldPathsPendingUpdate.
-
getFieldPathsPendingUpdate
Optional. The list of fields waiting for hub administrator's approval.
repeated string field_paths_pending_update = 28 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFieldPathsPendingUpdatein interfaceSpokeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The fieldPathsPendingUpdate at the given index.
-
getFieldPathsPendingUpdateBytes
public com.google.protobuf.ByteString getFieldPathsPendingUpdateBytes(int index) Optional. The list of fields waiting for hub administrator's approval.
repeated string field_paths_pending_update = 28 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFieldPathsPendingUpdateBytesin interfaceSpokeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fieldPathsPendingUpdate at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Spoke parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spoke parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spoke parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spoke parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spoke parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spoke parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Spoke parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Spoke parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Spoke parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-