Class RejectHubSpokeResponse (1.36.0)

public final class RejectHubSpokeResponse extends GeneratedMessageV3 implements RejectHubSpokeResponseOrBuilder

The response for HubService.RejectHubSpoke.

Protobuf type google.cloud.networkconnectivity.v1.RejectHubSpokeResponse

Static Fields

SPOKE_FIELD_NUMBER

public static final int SPOKE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RejectHubSpokeResponse getDefaultInstance()
Returns
TypeDescription
RejectHubSpokeResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RejectHubSpokeResponse.Builder newBuilder()
Returns
TypeDescription
RejectHubSpokeResponse.Builder

newBuilder(RejectHubSpokeResponse prototype)

public static RejectHubSpokeResponse.Builder newBuilder(RejectHubSpokeResponse prototype)
Parameter
NameDescription
prototypeRejectHubSpokeResponse
Returns
TypeDescription
RejectHubSpokeResponse.Builder

parseDelimitedFrom(InputStream input)

public static RejectHubSpokeResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RejectHubSpokeResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RejectHubSpokeResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RejectHubSpokeResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RejectHubSpokeResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RejectHubSpokeResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RejectHubSpokeResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RejectHubSpokeResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RejectHubSpokeResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RejectHubSpokeResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RejectHubSpokeResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RejectHubSpokeResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RejectHubSpokeResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RejectHubSpokeResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RejectHubSpokeResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RejectHubSpokeResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RejectHubSpokeResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RejectHubSpokeResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RejectHubSpokeResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RejectHubSpokeResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RejectHubSpokeResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RejectHubSpokeResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RejectHubSpokeResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RejectHubSpokeResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RejectHubSpokeResponse> parser()
Returns
TypeDescription
Parser<RejectHubSpokeResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RejectHubSpokeResponse getDefaultInstanceForType()
Returns
TypeDescription
RejectHubSpokeResponse

getParserForType()

public Parser<RejectHubSpokeResponse> getParserForType()
Returns
TypeDescription
Parser<RejectHubSpokeResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSpoke()

public Spoke getSpoke()

The spoke that was operated on.

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

Returns
TypeDescription
Spoke

The spoke.

getSpokeOrBuilder()

public SpokeOrBuilder getSpokeOrBuilder()

The spoke that was operated on.

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

Returns
TypeDescription
SpokeOrBuilder

hasSpoke()

public boolean hasSpoke()

The spoke that was operated on.

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

Returns
TypeDescription
boolean

Whether the spoke field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RejectHubSpokeResponse.Builder newBuilderForType()
Returns
TypeDescription
RejectHubSpokeResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RejectHubSpokeResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RejectHubSpokeResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RejectHubSpokeResponse.Builder toBuilder()
Returns
TypeDescription
RejectHubSpokeResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException