Class RouterStatusResponse.Builder (1.62.0)

public static final class RouterStatusResponse.Builder extends GeneratedMessageV3.Builder<RouterStatusResponse.Builder> implements RouterStatusResponseOrBuilder

Protobuf type google.cloud.compute.v1.RouterStatusResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RouterStatusResponse build()
Returns
Type Description
RouterStatusResponse

buildPartial()

public RouterStatusResponse buildPartial()
Returns
Type Description
RouterStatusResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKind()

public RouterStatusResponse.Builder clearKind()

Type of resource.

optional string kind = 3292052;

Returns
Type Description
RouterStatusResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResult()

public RouterStatusResponse.Builder clearResult()

optional .google.cloud.compute.v1.RouterStatus result = 139315229;

Returns
Type Description
RouterStatusResponse.Builder

clone()

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

getDefaultInstanceForType()

public RouterStatusResponse getDefaultInstanceForType()
Returns
Type Description
RouterStatusResponse

getDescriptorForType()

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

getKind()

public String getKind()

Type of resource.

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

Type of resource.

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

getResult()

public RouterStatus getResult()

optional .google.cloud.compute.v1.RouterStatus result = 139315229;

Returns
Type Description
RouterStatus

The result.

getResultBuilder()

public RouterStatus.Builder getResultBuilder()

optional .google.cloud.compute.v1.RouterStatus result = 139315229;

Returns
Type Description
RouterStatus.Builder

getResultOrBuilder()

public RouterStatusOrBuilder getResultOrBuilder()

optional .google.cloud.compute.v1.RouterStatus result = 139315229;

Returns
Type Description
RouterStatusOrBuilder

hasKind()

public boolean hasKind()

Type of resource.

optional string kind = 3292052;

Returns
Type Description
boolean

Whether the kind field is set.

hasResult()

public boolean hasResult()

optional .google.cloud.compute.v1.RouterStatus result = 139315229;

Returns
Type Description
boolean

Whether the result field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RouterStatusResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResult(RouterStatus value)

public RouterStatusResponse.Builder mergeResult(RouterStatus value)

optional .google.cloud.compute.v1.RouterStatus result = 139315229;

Parameter
Name Description
value RouterStatus
Returns
Type Description
RouterStatusResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setKind(String value)

public RouterStatusResponse.Builder setKind(String value)

Type of resource.

optional string kind = 3292052;

Parameter
Name Description
value String

The kind to set.

Returns
Type Description
RouterStatusResponse.Builder

This builder for chaining.

setKindBytes(ByteString value)

public RouterStatusResponse.Builder setKindBytes(ByteString value)

Type of resource.

optional string kind = 3292052;

Parameter
Name Description
value ByteString

The bytes for kind to set.

Returns
Type Description
RouterStatusResponse.Builder

This builder for chaining.

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

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

setResult(RouterStatus value)

public RouterStatusResponse.Builder setResult(RouterStatus value)

optional .google.cloud.compute.v1.RouterStatus result = 139315229;

Parameter
Name Description
value RouterStatus
Returns
Type Description
RouterStatusResponse.Builder

setResult(RouterStatus.Builder builderForValue)

public RouterStatusResponse.Builder setResult(RouterStatus.Builder builderForValue)

optional .google.cloud.compute.v1.RouterStatus result = 139315229;

Parameter
Name Description
builderForValue RouterStatus.Builder
Returns
Type Description
RouterStatusResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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