Class AcceptHubSpokeResponse.Builder (1.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AcceptHubSpokeResponse build()
Returns
TypeDescription
AcceptHubSpokeResponse

buildPartial()

public AcceptHubSpokeResponse buildPartial()
Returns
TypeDescription
AcceptHubSpokeResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSpoke()

public AcceptHubSpokeResponse.Builder clearSpoke()

The spoke that was operated on.

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

Returns
TypeDescription
AcceptHubSpokeResponse.Builder

clone()

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

getDefaultInstanceForType()

public AcceptHubSpokeResponse getDefaultInstanceForType()
Returns
TypeDescription
AcceptHubSpokeResponse

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

public AcceptHubSpokeResponse.Builder mergeFrom(AcceptHubSpokeResponse other)
Parameter
NameDescription
otherAcceptHubSpokeResponse
Returns
TypeDescription
AcceptHubSpokeResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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