Class AcceptHubSpokeResponse.Builder (1.54.0)

public static final class AcceptHubSpokeResponse.Builder extends GeneratedMessageV3.Builder<AcceptHubSpokeResponse.Builder> implements AcceptHubSpokeResponseOrBuilder

The response for HubService.AcceptHubSpoke.

Protobuf type google.cloud.networkconnectivity.v1.AcceptHubSpokeResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AcceptHubSpokeResponse build()
Returns
Type Description
AcceptHubSpokeResponse

buildPartial()

public AcceptHubSpokeResponse buildPartial()
Returns
Type Description
AcceptHubSpokeResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSpoke()

public AcceptHubSpokeResponse.Builder clearSpoke()

The spoke that was operated on.

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

Returns
Type Description
AcceptHubSpokeResponse.Builder

clone()

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

getDefaultInstanceForType()

public AcceptHubSpokeResponse getDefaultInstanceForType()
Returns
Type Description
AcceptHubSpokeResponse

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(AcceptHubSpokeResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSpoke(Spoke value)

public AcceptHubSpokeResponse.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
AcceptHubSpokeResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSpoke(Spoke value)

public AcceptHubSpokeResponse.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
AcceptHubSpokeResponse.Builder

setSpoke(Spoke.Builder builderForValue)

public AcceptHubSpokeResponse.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
AcceptHubSpokeResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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