Class GetAccessApprovalSettingsMessage.Builder (2.45.0)

public static final class GetAccessApprovalSettingsMessage.Builder extends GeneratedMessageV3.Builder<GetAccessApprovalSettingsMessage.Builder> implements GetAccessApprovalSettingsMessageOrBuilder

Request to get access approval settings.

Protobuf type google.cloud.accessapproval.v1.GetAccessApprovalSettingsMessage

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetAccessApprovalSettingsMessage build()
Returns
Type Description
GetAccessApprovalSettingsMessage

buildPartial()

public GetAccessApprovalSettingsMessage buildPartial()
Returns
Type Description
GetAccessApprovalSettingsMessage

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetAccessApprovalSettingsMessage.Builder clearName()

The name of the AccessApprovalSettings to retrieve. Format: "{projects|folders|organizations}/{id}/accessApprovalSettings"

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

Returns
Type Description
GetAccessApprovalSettingsMessage.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetAccessApprovalSettingsMessage getDefaultInstanceForType()
Returns
Type Description
GetAccessApprovalSettingsMessage

getDescriptorForType()

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

getName()

public String getName()

The name of the AccessApprovalSettings to retrieve. Format: "{projects|folders|organizations}/{id}/accessApprovalSettings"

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the AccessApprovalSettings to retrieve. Format: "{projects|folders|organizations}/{id}/accessApprovalSettings"

string name = 1 [(.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(GetAccessApprovalSettingsMessage other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetAccessApprovalSettingsMessage.Builder setName(String value)

The name of the AccessApprovalSettings to retrieve. Format: "{projects|folders|organizations}/{id}/accessApprovalSettings"

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetAccessApprovalSettingsMessage.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetAccessApprovalSettingsMessage.Builder setNameBytes(ByteString value)

The name of the AccessApprovalSettings to retrieve. Format: "{projects|folders|organizations}/{id}/accessApprovalSettings"

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetAccessApprovalSettingsMessage.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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