Class RoutersPreviewResponse.Builder (1.23.0)

public static final class RoutersPreviewResponse.Builder extends GeneratedMessageV3.Builder<RoutersPreviewResponse.Builder> implements RoutersPreviewResponseOrBuilder

Protobuf type google.cloud.compute.v1.RoutersPreviewResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RoutersPreviewResponse build()
Returns
TypeDescription
RoutersPreviewResponse

buildPartial()

public RoutersPreviewResponse buildPartial()
Returns
TypeDescription
RoutersPreviewResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResource()

public RoutersPreviewResponse.Builder clearResource()

Preview of given router.

optional .google.cloud.compute.v1.Router resource = 195806222;

Returns
TypeDescription
RoutersPreviewResponse.Builder

clone()

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

getDefaultInstanceForType()

public RoutersPreviewResponse getDefaultInstanceForType()
Returns
TypeDescription
RoutersPreviewResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getResource()

public Router getResource()

Preview of given router.

optional .google.cloud.compute.v1.Router resource = 195806222;

Returns
TypeDescription
Router

The resource.

getResourceBuilder()

public Router.Builder getResourceBuilder()

Preview of given router.

optional .google.cloud.compute.v1.Router resource = 195806222;

Returns
TypeDescription
Router.Builder

getResourceOrBuilder()

public RouterOrBuilder getResourceOrBuilder()

Preview of given router.

optional .google.cloud.compute.v1.Router resource = 195806222;

Returns
TypeDescription
RouterOrBuilder

hasResource()

public boolean hasResource()

Preview of given router.

optional .google.cloud.compute.v1.Router resource = 195806222;

Returns
TypeDescription
boolean

Whether the resource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RoutersPreviewResponse other)

public RoutersPreviewResponse.Builder mergeFrom(RoutersPreviewResponse other)
Parameter
NameDescription
otherRoutersPreviewResponse
Returns
TypeDescription
RoutersPreviewResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RoutersPreviewResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RoutersPreviewResponse.Builder
Overrides

mergeResource(Router value)

public RoutersPreviewResponse.Builder mergeResource(Router value)

Preview of given router.

optional .google.cloud.compute.v1.Router resource = 195806222;

Parameter
NameDescription
valueRouter
Returns
TypeDescription
RoutersPreviewResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public RoutersPreviewResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RoutersPreviewResponse.Builder
Overrides

setResource(Router value)

public RoutersPreviewResponse.Builder setResource(Router value)

Preview of given router.

optional .google.cloud.compute.v1.Router resource = 195806222;

Parameter
NameDescription
valueRouter
Returns
TypeDescription
RoutersPreviewResponse.Builder

setResource(Router.Builder builderForValue)

public RoutersPreviewResponse.Builder setResource(Router.Builder builderForValue)

Preview of given router.

optional .google.cloud.compute.v1.Router resource = 195806222;

Parameter
NameDescription
builderForValueRouter.Builder
Returns
TypeDescription
RoutersPreviewResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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