Class RoutersPreviewResponse.Builder (1.55.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RoutersPreviewResponse build()
Returns
Type Description
RoutersPreviewResponse

buildPartial()

public RoutersPreviewResponse buildPartial()
Returns
Type Description
RoutersPreviewResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResource()

public RoutersPreviewResponse.Builder clearResource()

Preview of given router.

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

Returns
Type Description
RoutersPreviewResponse.Builder

clone()

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

getDefaultInstanceForType()

public RoutersPreviewResponse getDefaultInstanceForType()
Returns
Type Description
RoutersPreviewResponse

getDescriptorForType()

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

getResource()

public Router getResource()

Preview of given router.

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

Returns
Type Description
Router

The resource.

getResourceBuilder()

public Router.Builder getResourceBuilder()

Preview of given router.

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

Returns
Type Description
Router.Builder

getResourceOrBuilder()

public RouterOrBuilder getResourceOrBuilder()

Preview of given router.

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

Returns
Type Description
RouterOrBuilder

hasResource()

public boolean hasResource()

Preview of given router.

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

Returns
Type Description
boolean

Whether the resource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RoutersPreviewResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RoutersPreviewResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Router
Returns
Type Description
RoutersPreviewResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public RoutersPreviewResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value Router
Returns
Type Description
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
Name Description
builderForValue Router.Builder
Returns
Type Description
RoutersPreviewResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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