Class GetCaseRequest.Builder (0.36.0)

public static final class GetCaseRequest.Builder extends GeneratedMessageV3.Builder<GetCaseRequest.Builder> implements GetCaseRequestOrBuilder

The request message for the GetCase endpoint.

Protobuf type google.cloud.support.v2.GetCaseRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetCaseRequest build()
Returns
Type Description
GetCaseRequest

buildPartial()

public GetCaseRequest buildPartial()
Returns
Type Description
GetCaseRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetCaseRequest.Builder clearName()

Required. The fully qualified name of a case to be retrieved.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetCaseRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetCaseRequest getDefaultInstanceForType()
Returns
Type Description
GetCaseRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The fully qualified name of a case to be retrieved.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The fully qualified name of a case to be retrieved.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetCaseRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetCaseRequest.Builder setName(String value)

Required. The fully qualified name of a case to be retrieved.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetCaseRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetCaseRequest.Builder setNameBytes(ByteString value)

Required. The fully qualified name of a case to be retrieved.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetCaseRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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