Class CreateExternalAccountKeyRequest.Builder (0.49.0)

public static final class CreateExternalAccountKeyRequest.Builder extends GeneratedMessageV3.Builder<CreateExternalAccountKeyRequest.Builder> implements CreateExternalAccountKeyRequestOrBuilder

Creates a new ExternalAccountKey in a given project.

Protobuf type google.cloud.security.publicca.v1beta1.CreateExternalAccountKeyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateExternalAccountKeyRequest build()
Returns
Type Description
CreateExternalAccountKeyRequest

buildPartial()

public CreateExternalAccountKeyRequest buildPartial()
Returns
Type Description
CreateExternalAccountKeyRequest

clear()

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

clearExternalAccountKey()

public CreateExternalAccountKeyRequest.Builder clearExternalAccountKey()

Required. The external account key to create. This field only exists to future-proof the API. At present, all fields in ExternalAccountKey are output only and all values are ignored. For the purpose of the CreateExternalAccountKeyRequest, set it to a default/empty value.

.google.cloud.security.publicca.v1beta1.ExternalAccountKey external_account_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateExternalAccountKeyRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateExternalAccountKeyRequest.Builder clearParent()

Required. The parent resource where this external_account_key will be created. Format: projects/[project_id]/locations/[location]. At present only the "global" location is supported.

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

Returns
Type Description
CreateExternalAccountKeyRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateExternalAccountKeyRequest getDefaultInstanceForType()
Returns
Type Description
CreateExternalAccountKeyRequest

getDescriptorForType()

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

getExternalAccountKey()

public ExternalAccountKey getExternalAccountKey()

Required. The external account key to create. This field only exists to future-proof the API. At present, all fields in ExternalAccountKey are output only and all values are ignored. For the purpose of the CreateExternalAccountKeyRequest, set it to a default/empty value.

.google.cloud.security.publicca.v1beta1.ExternalAccountKey external_account_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExternalAccountKey

The externalAccountKey.

getExternalAccountKeyBuilder()

public ExternalAccountKey.Builder getExternalAccountKeyBuilder()

Required. The external account key to create. This field only exists to future-proof the API. At present, all fields in ExternalAccountKey are output only and all values are ignored. For the purpose of the CreateExternalAccountKeyRequest, set it to a default/empty value.

.google.cloud.security.publicca.v1beta1.ExternalAccountKey external_account_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExternalAccountKey.Builder

getExternalAccountKeyOrBuilder()

public ExternalAccountKeyOrBuilder getExternalAccountKeyOrBuilder()

Required. The external account key to create. This field only exists to future-proof the API. At present, all fields in ExternalAccountKey are output only and all values are ignored. For the purpose of the CreateExternalAccountKeyRequest, set it to a default/empty value.

.google.cloud.security.publicca.v1beta1.ExternalAccountKey external_account_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExternalAccountKeyOrBuilder

getParent()

public String getParent()

Required. The parent resource where this external_account_key will be created. Format: projects/[project_id]/locations/[location]. At present only the "global" location is supported.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource where this external_account_key will be created. Format: projects/[project_id]/locations/[location]. At present only the "global" location is supported.

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

Returns
Type Description
ByteString

The bytes for parent.

hasExternalAccountKey()

public boolean hasExternalAccountKey()

Required. The external account key to create. This field only exists to future-proof the API. At present, all fields in ExternalAccountKey are output only and all values are ignored. For the purpose of the CreateExternalAccountKeyRequest, set it to a default/empty value.

.google.cloud.security.publicca.v1beta1.ExternalAccountKey external_account_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the externalAccountKey field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExternalAccountKey(ExternalAccountKey value)

public CreateExternalAccountKeyRequest.Builder mergeExternalAccountKey(ExternalAccountKey value)

Required. The external account key to create. This field only exists to future-proof the API. At present, all fields in ExternalAccountKey are output only and all values are ignored. For the purpose of the CreateExternalAccountKeyRequest, set it to a default/empty value.

.google.cloud.security.publicca.v1beta1.ExternalAccountKey external_account_key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ExternalAccountKey
Returns
Type Description
CreateExternalAccountKeyRequest.Builder

mergeFrom(CreateExternalAccountKeyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setExternalAccountKey(ExternalAccountKey value)

public CreateExternalAccountKeyRequest.Builder setExternalAccountKey(ExternalAccountKey value)

Required. The external account key to create. This field only exists to future-proof the API. At present, all fields in ExternalAccountKey are output only and all values are ignored. For the purpose of the CreateExternalAccountKeyRequest, set it to a default/empty value.

.google.cloud.security.publicca.v1beta1.ExternalAccountKey external_account_key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ExternalAccountKey
Returns
Type Description
CreateExternalAccountKeyRequest.Builder

setExternalAccountKey(ExternalAccountKey.Builder builderForValue)

public CreateExternalAccountKeyRequest.Builder setExternalAccountKey(ExternalAccountKey.Builder builderForValue)

Required. The external account key to create. This field only exists to future-proof the API. At present, all fields in ExternalAccountKey are output only and all values are ignored. For the purpose of the CreateExternalAccountKeyRequest, set it to a default/empty value.

.google.cloud.security.publicca.v1beta1.ExternalAccountKey external_account_key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ExternalAccountKey.Builder
Returns
Type Description
CreateExternalAccountKeyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateExternalAccountKeyRequest.Builder setParent(String value)

Required. The parent resource where this external_account_key will be created. Format: projects/[project_id]/locations/[location]. At present only the "global" location is supported.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateExternalAccountKeyRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateExternalAccountKeyRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where this external_account_key will be created. Format: projects/[project_id]/locations/[location]. At present only the "global" location is supported.

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateExternalAccountKeyRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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