Class AcceptHubSpokeResponse (1.48.0)

public final class AcceptHubSpokeResponse extends GeneratedMessageV3 implements AcceptHubSpokeResponseOrBuilder

The response for HubService.AcceptHubSpoke.

Protobuf type google.cloud.networkconnectivity.v1.AcceptHubSpokeResponse

Static Fields

SPOKE_FIELD_NUMBER

public static final int SPOKE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AcceptHubSpokeResponse getDefaultInstance()
Returns
Type Description
AcceptHubSpokeResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AcceptHubSpokeResponse.Builder newBuilder()
Returns
Type Description
AcceptHubSpokeResponse.Builder

newBuilder(AcceptHubSpokeResponse prototype)

public static AcceptHubSpokeResponse.Builder newBuilder(AcceptHubSpokeResponse prototype)
Parameter
Name Description
prototype AcceptHubSpokeResponse
Returns
Type Description
AcceptHubSpokeResponse.Builder

parseDelimitedFrom(InputStream input)

public static AcceptHubSpokeResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AcceptHubSpokeResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AcceptHubSpokeResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AcceptHubSpokeResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AcceptHubSpokeResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AcceptHubSpokeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AcceptHubSpokeResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AcceptHubSpokeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AcceptHubSpokeResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AcceptHubSpokeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AcceptHubSpokeResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AcceptHubSpokeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AcceptHubSpokeResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AcceptHubSpokeResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AcceptHubSpokeResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AcceptHubSpokeResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AcceptHubSpokeResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AcceptHubSpokeResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AcceptHubSpokeResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AcceptHubSpokeResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AcceptHubSpokeResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AcceptHubSpokeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AcceptHubSpokeResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AcceptHubSpokeResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AcceptHubSpokeResponse> parser()
Returns
Type Description
Parser<AcceptHubSpokeResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AcceptHubSpokeResponse getDefaultInstanceForType()
Returns
Type Description
AcceptHubSpokeResponse

getParserForType()

public Parser<AcceptHubSpokeResponse> getParserForType()
Returns
Type Description
Parser<AcceptHubSpokeResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSpoke()

public Spoke getSpoke()

The spoke that was operated on.

.google.cloud.networkconnectivity.v1.Spoke spoke = 1;

Returns
Type Description
Spoke

The spoke.

getSpokeOrBuilder()

public SpokeOrBuilder getSpokeOrBuilder()

The spoke that was operated on.

.google.cloud.networkconnectivity.v1.Spoke spoke = 1;

Returns
Type Description
SpokeOrBuilder

hasSpoke()

public boolean hasSpoke()

The spoke that was operated on.

.google.cloud.networkconnectivity.v1.Spoke spoke = 1;

Returns
Type Description
boolean

Whether the spoke field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AcceptHubSpokeResponse.Builder newBuilderForType()
Returns
Type Description
AcceptHubSpokeResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AcceptHubSpokeResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AcceptHubSpokeResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AcceptHubSpokeResponse.Builder toBuilder()
Returns
Type Description
AcceptHubSpokeResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException