Class CreateExternalAccountKeyRequest.Builder (0.21.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateExternalAccountKeyRequest build()
Returns
TypeDescription
CreateExternalAccountKeyRequest

buildPartial()

public CreateExternalAccountKeyRequest buildPartial()
Returns
TypeDescription
CreateExternalAccountKeyRequest

clear()

public CreateExternalAccountKeyRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
CreateExternalAccountKeyRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateExternalAccountKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateExternalAccountKeyRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateExternalAccountKeyRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateExternalAccountKeyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the externalAccountKey field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueExternalAccountKey
Returns
TypeDescription
CreateExternalAccountKeyRequest.Builder

mergeFrom(CreateExternalAccountKeyRequest other)

public CreateExternalAccountKeyRequest.Builder mergeFrom(CreateExternalAccountKeyRequest other)
Parameter
NameDescription
otherCreateExternalAccountKeyRequest
Returns
TypeDescription
CreateExternalAccountKeyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateExternalAccountKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueExternalAccountKey
Returns
TypeDescription
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
NameDescription
builderForValueExternalAccountKey.Builder
Returns
TypeDescription
CreateExternalAccountKeyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateExternalAccountKeyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateExternalAccountKeyRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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