Class Spoke
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.networkconnectivity.v1alpha1.Spoke
-
- All Implemented Interfaces:
SpokeOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Spoke extends com.google.protobuf.GeneratedMessageV3 implements SpokeOrBuilder
A Spoke is an abstraction of a network attachment being attached to a Hub. A Spoke can be underlying a VPN tunnel, a VLAN (interconnect) attachment, a Router appliance, etc.
Protobuf typegoogle.cloud.networkconnectivity.v1alpha1.Spoke- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpoke.BuilderA Spoke is an abstraction of a network attachment being attached to a Hub.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATE_TIME_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intHUB_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intLINKED_INTERCONNECT_ATTACHMENTS_FIELD_NUMBERstatic intLINKED_ROUTER_APPLIANCE_INSTANCES_FIELD_NUMBERstatic intLINKED_VPN_TUNNELS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intUNIQUE_ID_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)User-defined labels.booleanequals(Object obj)com.google.protobuf.TimestampgetCreateTime()The time when the Spoke was created.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The time when the Spoke was created.static SpokegetDefaultInstance()SpokegetDefaultInstanceForType()StringgetDescription()Short description of the spoke resourcecom.google.protobuf.ByteStringgetDescriptionBytes()Short description of the spoke resourcestatic com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetHub()The resource URL of the hub resource that the spoke is attached tocom.google.protobuf.ByteStringgetHubBytes()The resource URL of the hub resource that the spoke is attached toMap<String,String>getLabels()Deprecated.intgetLabelsCount()User-defined labels.Map<String,String>getLabelsMap()User-defined labels.StringgetLabelsOrDefault(String key, String defaultValue)User-defined labels.StringgetLabelsOrThrow(String key)User-defined labels.StringgetLinkedInterconnectAttachments(int index)The URIs of linked interconnect attachment resourcescom.google.protobuf.ByteStringgetLinkedInterconnectAttachmentsBytes(int index)The URIs of linked interconnect attachment resourcesintgetLinkedInterconnectAttachmentsCount()The URIs of linked interconnect attachment resourcescom.google.protobuf.ProtocolStringListgetLinkedInterconnectAttachmentsList()The URIs of linked interconnect attachment resourcesRouterApplianceInstancegetLinkedRouterApplianceInstances(int index)The URIs of linked Router appliance resourcesintgetLinkedRouterApplianceInstancesCount()The URIs of linked Router appliance resourcesList<RouterApplianceInstance>getLinkedRouterApplianceInstancesList()The URIs of linked Router appliance resourcesRouterApplianceInstanceOrBuildergetLinkedRouterApplianceInstancesOrBuilder(int index)The URIs of linked Router appliance resourcesList<? extends RouterApplianceInstanceOrBuilder>getLinkedRouterApplianceInstancesOrBuilderList()The URIs of linked Router appliance resourcesStringgetLinkedVpnTunnels(int index)The URIs of linked VPN tunnel resourcescom.google.protobuf.ByteStringgetLinkedVpnTunnelsBytes(int index)The URIs of linked VPN tunnel resourcesintgetLinkedVpnTunnelsCount()The URIs of linked VPN tunnel resourcescom.google.protobuf.ProtocolStringListgetLinkedVpnTunnelsList()The URIs of linked VPN tunnel resourcesStringgetName()Immutable.com.google.protobuf.ByteStringgetNameBytes()Immutable.com.google.protobuf.Parser<Spoke>getParserForType()intgetSerializedSize()StategetState()Output only.intgetStateValue()Output only.StringgetUniqueId()Output only.com.google.protobuf.ByteStringgetUniqueIdBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()The time when the Spoke was updated.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()The time when the Spoke was updated.booleanhasCreateTime()The time when the Spoke was created.inthashCode()booleanhasUpdateTime()The time when the Spoke was updated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Spoke.BuildernewBuilder()static Spoke.BuildernewBuilder(Spoke prototype)Spoke.BuildernewBuilderForType()protected Spoke.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()Spoke.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HUB_FIELD_NUMBER
public static final int HUB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LINKED_VPN_TUNNELS_FIELD_NUMBER
public static final int LINKED_VPN_TUNNELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LINKED_INTERCONNECT_ATTACHMENTS_FIELD_NUMBER
public static final int LINKED_INTERCONNECT_ATTACHMENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LINKED_ROUTER_APPLIANCE_INSTANCES_FIELD_NUMBER
public static final int LINKED_ROUTER_APPLIANCE_INSTANCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNIQUE_ID_FIELD_NUMBER
public static final int UNIQUE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Immutable. The name of a Spoke resource.
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 a Spoke resource.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNameBytesin interfaceSpokeOrBuilder- Returns:
- The bytes for name.
-
hasCreateTime
public boolean hasCreateTime()
The time when the Spoke was created.
.google.protobuf.Timestamp create_time = 2;- Specified by:
hasCreateTimein interfaceSpokeOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
The time when the Spoke was created.
.google.protobuf.Timestamp create_time = 2;- Specified by:
getCreateTimein interfaceSpokeOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time when the Spoke was created.
.google.protobuf.Timestamp create_time = 2;- Specified by:
getCreateTimeOrBuilderin interfaceSpokeOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
The time when the Spoke was updated.
.google.protobuf.Timestamp update_time = 3;- Specified by:
hasUpdateTimein interfaceSpokeOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
The time when the Spoke was updated.
.google.protobuf.Timestamp update_time = 3;- Specified by:
getUpdateTimein interfaceSpokeOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
The time when the Spoke was updated.
.google.protobuf.Timestamp update_time = 3;- Specified by:
getUpdateTimeOrBuilderin interfaceSpokeOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:SpokeOrBuilderUser-defined labels.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceSpokeOrBuilder
-
containsLabels
public boolean containsLabels(String key)
User-defined labels.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceSpokeOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceSpokeOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
User-defined labels.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceSpokeOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
User-defined labels.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceSpokeOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
User-defined labels.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceSpokeOrBuilder
-
getDescription
public String getDescription()
Short description of the spoke resource
string description = 5;- Specified by:
getDescriptionin interfaceSpokeOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Short description of the spoke resource
string description = 5;- Specified by:
getDescriptionBytesin interfaceSpokeOrBuilder- Returns:
- The bytes for description.
-
getHub
public String getHub()
The resource URL of the hub resource that the spoke is attached to
string hub = 6 [(.google.api.resource_reference) = { ... }- Specified by:
getHubin interfaceSpokeOrBuilder- Returns:
- The hub.
-
getHubBytes
public com.google.protobuf.ByteString getHubBytes()
The resource URL of the hub resource that the spoke is attached to
string hub = 6 [(.google.api.resource_reference) = { ... }- Specified by:
getHubBytesin interfaceSpokeOrBuilder- Returns:
- The bytes for hub.
-
getLinkedVpnTunnelsList
public com.google.protobuf.ProtocolStringList getLinkedVpnTunnelsList()
The URIs of linked VPN tunnel resources
repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }- Specified by:
getLinkedVpnTunnelsListin interfaceSpokeOrBuilder- Returns:
- A list containing the linkedVpnTunnels.
-
getLinkedVpnTunnelsCount
public int getLinkedVpnTunnelsCount()
The URIs of linked VPN tunnel resources
repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }- Specified by:
getLinkedVpnTunnelsCountin interfaceSpokeOrBuilder- Returns:
- The count of linkedVpnTunnels.
-
getLinkedVpnTunnels
public String getLinkedVpnTunnels(int index)
The URIs of linked VPN tunnel resources
repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }- Specified by:
getLinkedVpnTunnelsin interfaceSpokeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The linkedVpnTunnels at the given index.
-
getLinkedVpnTunnelsBytes
public com.google.protobuf.ByteString getLinkedVpnTunnelsBytes(int index)
The URIs of linked VPN tunnel resources
repeated string linked_vpn_tunnels = 12 [(.google.api.resource_reference) = { ... }- Specified by:
getLinkedVpnTunnelsBytesin interfaceSpokeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the linkedVpnTunnels at the given index.
-
getLinkedInterconnectAttachmentsList
public com.google.protobuf.ProtocolStringList getLinkedInterconnectAttachmentsList()
The URIs of linked interconnect attachment resources
repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }- Specified by:
getLinkedInterconnectAttachmentsListin interfaceSpokeOrBuilder- Returns:
- A list containing the linkedInterconnectAttachments.
-
getLinkedInterconnectAttachmentsCount
public int getLinkedInterconnectAttachmentsCount()
The URIs of linked interconnect attachment resources
repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }- Specified by:
getLinkedInterconnectAttachmentsCountin interfaceSpokeOrBuilder- Returns:
- The count of linkedInterconnectAttachments.
-
getLinkedInterconnectAttachments
public String getLinkedInterconnectAttachments(int index)
The URIs of linked interconnect attachment resources
repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }- Specified by:
getLinkedInterconnectAttachmentsin interfaceSpokeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The linkedInterconnectAttachments at the given index.
-
getLinkedInterconnectAttachmentsBytes
public com.google.protobuf.ByteString getLinkedInterconnectAttachmentsBytes(int index)
The URIs of linked interconnect attachment resources
repeated string linked_interconnect_attachments = 13 [(.google.api.resource_reference) = { ... }- Specified by:
getLinkedInterconnectAttachmentsBytesin interfaceSpokeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the linkedInterconnectAttachments at the given index.
-
getLinkedRouterApplianceInstancesList
public List<RouterApplianceInstance> getLinkedRouterApplianceInstancesList()
The URIs of linked Router appliance resources
repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;- Specified by:
getLinkedRouterApplianceInstancesListin interfaceSpokeOrBuilder
-
getLinkedRouterApplianceInstancesOrBuilderList
public List<? extends RouterApplianceInstanceOrBuilder> getLinkedRouterApplianceInstancesOrBuilderList()
The URIs of linked Router appliance resources
repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;- Specified by:
getLinkedRouterApplianceInstancesOrBuilderListin interfaceSpokeOrBuilder
-
getLinkedRouterApplianceInstancesCount
public int getLinkedRouterApplianceInstancesCount()
The URIs of linked Router appliance resources
repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;- Specified by:
getLinkedRouterApplianceInstancesCountin interfaceSpokeOrBuilder
-
getLinkedRouterApplianceInstances
public RouterApplianceInstance getLinkedRouterApplianceInstances(int index)
The URIs of linked Router appliance resources
repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;- Specified by:
getLinkedRouterApplianceInstancesin interfaceSpokeOrBuilder
-
getLinkedRouterApplianceInstancesOrBuilder
public RouterApplianceInstanceOrBuilder getLinkedRouterApplianceInstancesOrBuilder(int index)
The URIs of linked Router appliance resources
repeated .google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance linked_router_appliance_instances = 14;- Specified by:
getLinkedRouterApplianceInstancesOrBuilderin interfaceSpokeOrBuilder
-
getUniqueId
public String getUniqueId()
Output only. Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets 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. Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets 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 Hub.
.google.cloud.networkconnectivity.v1alpha1.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceSpokeOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public State getState()
Output only. The current lifecycle state of this Hub.
.google.cloud.networkconnectivity.v1alpha1.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceSpokeOrBuilder- Returns:
- The state.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static Spoke parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Spoke parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Spoke parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Spoke parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Spoke parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Spoke parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Spoke.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Spoke.Builder newBuilder()
-
newBuilder
public static Spoke.Builder newBuilder(Spoke prototype)
-
toBuilder
public Spoke.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Spoke.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Spoke getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Spoke> parser()
-
getParserForType
public com.google.protobuf.Parser<Spoke> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Spoke getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-