Class RejectHubSpokeResponse.Builder (1.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RejectHubSpokeResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RejectHubSpokeResponse.Builder
Overrides

build()

public RejectHubSpokeResponse build()
Returns
TypeDescription
RejectHubSpokeResponse

buildPartial()

public RejectHubSpokeResponse buildPartial()
Returns
TypeDescription
RejectHubSpokeResponse

clear()

public RejectHubSpokeResponse.Builder clear()
Returns
TypeDescription
RejectHubSpokeResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RejectHubSpokeResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RejectHubSpokeResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RejectHubSpokeResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RejectHubSpokeResponse.Builder
Overrides

clearSpoke()

public RejectHubSpokeResponse.Builder clearSpoke()

The spoke that was operated on.

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

Returns
TypeDescription
RejectHubSpokeResponse.Builder

clone()

public RejectHubSpokeResponse.Builder clone()
Returns
TypeDescription
RejectHubSpokeResponse.Builder
Overrides

getDefaultInstanceForType()

public RejectHubSpokeResponse getDefaultInstanceForType()
Returns
TypeDescription
RejectHubSpokeResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSpoke()

public Spoke getSpoke()

The spoke that was operated on.

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

Returns
TypeDescription
Spoke

The spoke.

getSpokeBuilder()

public Spoke.Builder getSpokeBuilder()

The spoke that was operated on.

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

Returns
TypeDescription
Spoke.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RejectHubSpokeResponse other)

public RejectHubSpokeResponse.Builder mergeFrom(RejectHubSpokeResponse other)
Parameter
NameDescription
otherRejectHubSpokeResponse
Returns
TypeDescription
RejectHubSpokeResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RejectHubSpokeResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RejectHubSpokeResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RejectHubSpokeResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSpoke
Returns
TypeDescription
RejectHubSpokeResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RejectHubSpokeResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RejectHubSpokeResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RejectHubSpokeResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RejectHubSpokeResponse.Builder
Overrides

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

public RejectHubSpokeResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSpoke
Returns
TypeDescription
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
NameDescription
builderForValueSpoke.Builder
Returns
TypeDescription
RejectHubSpokeResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RejectHubSpokeResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RejectHubSpokeResponse.Builder
Overrides