Class GetAccessApprovalServiceAccountMessage.Builder (2.8.0)

public static final class GetAccessApprovalServiceAccountMessage.Builder extends GeneratedMessageV3.Builder<GetAccessApprovalServiceAccountMessage.Builder> implements GetAccessApprovalServiceAccountMessageOrBuilder

Request to get an Access Approval service account.

Protobuf type google.cloud.accessapproval.v1.GetAccessApprovalServiceAccountMessage

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetAccessApprovalServiceAccountMessage build()
Returns
TypeDescription
GetAccessApprovalServiceAccountMessage

buildPartial()

public GetAccessApprovalServiceAccountMessage buildPartial()
Returns
TypeDescription
GetAccessApprovalServiceAccountMessage

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetAccessApprovalServiceAccountMessage.Builder clearName()

Name of the AccessApprovalServiceAccount to retrieve.

string name = 1;

Returns
TypeDescription
GetAccessApprovalServiceAccountMessage.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetAccessApprovalServiceAccountMessage getDefaultInstanceForType()
Returns
TypeDescription
GetAccessApprovalServiceAccountMessage

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Name of the AccessApprovalServiceAccount to retrieve.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the AccessApprovalServiceAccount to retrieve.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetAccessApprovalServiceAccountMessage other)

public GetAccessApprovalServiceAccountMessage.Builder mergeFrom(GetAccessApprovalServiceAccountMessage other)
Parameter
NameDescription
otherGetAccessApprovalServiceAccountMessage
Returns
TypeDescription
GetAccessApprovalServiceAccountMessage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetAccessApprovalServiceAccountMessage.Builder setName(String value)

Name of the AccessApprovalServiceAccount to retrieve.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetAccessApprovalServiceAccountMessage.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetAccessApprovalServiceAccountMessage.Builder setNameBytes(ByteString value)

Name of the AccessApprovalServiceAccount to retrieve.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetAccessApprovalServiceAccountMessage.Builder

This builder for chaining.

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

public GetAccessApprovalServiceAccountMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetAccessApprovalServiceAccountMessage.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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