Class RouterStatusResponse.Builder (1.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RouterStatusResponse build()
Returns
TypeDescription
RouterStatusResponse

buildPartial()

public RouterStatusResponse buildPartial()
Returns
TypeDescription
RouterStatusResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKind()

public RouterStatusResponse.Builder clearKind()

Type of resource.

optional string kind = 3292052;

Returns
TypeDescription
RouterStatusResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResult()

public RouterStatusResponse.Builder clearResult()

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

Returns
TypeDescription
RouterStatusResponse.Builder

clone()

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

getDefaultInstanceForType()

public RouterStatusResponse getDefaultInstanceForType()
Returns
TypeDescription
RouterStatusResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKind()

public String getKind()

Type of resource.

optional string kind = 3292052;

Returns
TypeDescription
String

The kind.

getKindBytes()

public ByteString getKindBytes()

Type of resource.

optional string kind = 3292052;

Returns
TypeDescription
ByteString

The bytes for kind.

getResult()

public RouterStatus getResult()

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

Returns
TypeDescription
RouterStatus

The result.

getResultBuilder()

public RouterStatus.Builder getResultBuilder()

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

Returns
TypeDescription
RouterStatus.Builder

getResultOrBuilder()

public RouterStatusOrBuilder getResultOrBuilder()

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

Returns
TypeDescription
RouterStatusOrBuilder

hasKind()

public boolean hasKind()

Type of resource.

optional string kind = 3292052;

Returns
TypeDescription
boolean

Whether the kind field is set.

hasResult()

public boolean hasResult()

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

Returns
TypeDescription
boolean

Whether the result field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RouterStatusResponse other)

public RouterStatusResponse.Builder mergeFrom(RouterStatusResponse other)
Parameter
NameDescription
otherRouterStatusResponse
Returns
TypeDescription
RouterStatusResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResult(RouterStatus value)

public RouterStatusResponse.Builder mergeResult(RouterStatus value)

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

Parameter
NameDescription
valueRouterStatus
Returns
TypeDescription
RouterStatusResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setKind(String value)

public RouterStatusResponse.Builder setKind(String value)

Type of resource.

optional string kind = 3292052;

Parameter
NameDescription
valueString

The kind to set.

Returns
TypeDescription
RouterStatusResponse.Builder

This builder for chaining.

setKindBytes(ByteString value)

public RouterStatusResponse.Builder setKindBytes(ByteString value)

Type of resource.

optional string kind = 3292052;

Parameter
NameDescription
valueByteString

The bytes for kind to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RouterStatusResponse.Builder
Overrides

setResult(RouterStatus value)

public RouterStatusResponse.Builder setResult(RouterStatus value)

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

Parameter
NameDescription
valueRouterStatus
Returns
TypeDescription
RouterStatusResponse.Builder

setResult(RouterStatus.Builder builderForValue)

public RouterStatusResponse.Builder setResult(RouterStatus.Builder builderForValue)

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

Parameter
NameDescription
builderForValueRouterStatus.Builder
Returns
TypeDescription
RouterStatusResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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