public static final class CreateExternalAccountKeyRequest.Builder extends GeneratedMessage.Builder<CreateExternalAccountKeyRequest.Builder> implements CreateExternalAccountKeyRequestOrBuilderCreates a new ExternalAccountKey in a given project.
Protobuf type google.cloud.security.publicca.v1beta1.CreateExternalAccountKeyRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateExternalAccountKeyRequest.BuilderImplements
CreateExternalAccountKeyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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. |
getDefaultInstanceForType()
public CreateExternalAccountKeyRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateExternalAccountKeyRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateExternalAccountKeyRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateExternalAccountKeyRequest.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateExternalAccountKeyRequest.Builder |
This builder for chaining. |