Class GetEntitlementRequest.Builder (0.7.0)

public static final class GetEntitlementRequest.Builder extends GeneratedMessageV3.Builder<GetEntitlementRequest.Builder> implements GetEntitlementRequestOrBuilder

Message for getting an entitlement.

Protobuf type google.cloud.privilegedaccessmanager.v1.GetEntitlementRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetEntitlementRequest build()
Returns
Type Description
GetEntitlementRequest

buildPartial()

public GetEntitlementRequest buildPartial()
Returns
Type Description
GetEntitlementRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetEntitlementRequest.Builder clearName()

Required. Name of the resource.

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

Returns
Type Description
GetEntitlementRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetEntitlementRequest getDefaultInstanceForType()
Returns
Type Description
GetEntitlementRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Name of the resource.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the resource.

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(GetEntitlementRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetEntitlementRequest.Builder setName(String value)

Required. Name of the resource.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetEntitlementRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetEntitlementRequest.Builder setNameBytes(ByteString value)

Required. Name of the resource.

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
GetEntitlementRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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