Class RejectHubSpokeResponse.Builder (1.53.0)

public static final class RejectHubSpokeResponse.Builder extends GeneratedMessageV3.Builder<RejectHubSpokeResponse.Builder> implements RejectHubSpokeResponseOrBuilder

The response for HubService.RejectHubSpoke.

Protobuf type google.cloud.networkconnectivity.v1.RejectHubSpokeResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RejectHubSpokeResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RejectHubSpokeResponse.Builder
Overrides

build()

public RejectHubSpokeResponse build()
Returns
Type Description
RejectHubSpokeResponse

buildPartial()

public RejectHubSpokeResponse buildPartial()
Returns
Type Description
RejectHubSpokeResponse

clear()

public RejectHubSpokeResponse.Builder clear()
Returns
Type Description
RejectHubSpokeResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RejectHubSpokeResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RejectHubSpokeResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RejectHubSpokeResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RejectHubSpokeResponse.Builder
Overrides

clearSpoke()

public RejectHubSpokeResponse.Builder clearSpoke()

The spoke that was operated on.

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

Returns
Type Description
RejectHubSpokeResponse.Builder

clone()

public RejectHubSpokeResponse.Builder clone()
Returns
Type Description
RejectHubSpokeResponse.Builder
Overrides

getDefaultInstanceForType()

public RejectHubSpokeResponse getDefaultInstanceForType()
Returns
Type Description
RejectHubSpokeResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSpoke()

public Spoke getSpoke()

The spoke that was operated on.

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

Returns
Type Description
Spoke

The spoke.

getSpokeBuilder()

public Spoke.Builder getSpokeBuilder()

The spoke that was operated on.

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

Returns
Type Description
Spoke.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RejectHubSpokeResponse other)

public RejectHubSpokeResponse.Builder mergeFrom(RejectHubSpokeResponse other)
Parameter
Name Description
other RejectHubSpokeResponse
Returns
Type Description
RejectHubSpokeResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RejectHubSpokeResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RejectHubSpokeResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RejectHubSpokeResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RejectHubSpokeResponse.Builder
Overrides

mergeSpoke(Spoke value)

public RejectHubSpokeResponse.Builder mergeSpoke(Spoke value)

The spoke that was operated on.

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

Parameter
Name Description
value Spoke
Returns
Type Description
RejectHubSpokeResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RejectHubSpokeResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RejectHubSpokeResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RejectHubSpokeResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RejectHubSpokeResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RejectHubSpokeResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RejectHubSpokeResponse.Builder
Overrides

setSpoke(Spoke value)

public RejectHubSpokeResponse.Builder setSpoke(Spoke value)

The spoke that was operated on.

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

Parameter
Name Description
value Spoke
Returns
Type Description
RejectHubSpokeResponse.Builder

setSpoke(Spoke.Builder builderForValue)

public RejectHubSpokeResponse.Builder setSpoke(Spoke.Builder builderForValue)

The spoke that was operated on.

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

Parameter
Name Description
builderForValue Spoke.Builder
Returns
Type Description
RejectHubSpokeResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RejectHubSpokeResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RejectHubSpokeResponse.Builder
Overrides