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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateExternalAccountKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateExternalAccountKeyRequest build()
Returns
buildPartial()
public CreateExternalAccountKeyRequest buildPartial()
Returns
clear()
public CreateExternalAccountKeyRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public CreateExternalAccountKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateExternalAccountKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public CreateExternalAccountKeyRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateExternalAccountKeyRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(CreateExternalAccountKeyRequest other)
public CreateExternalAccountKeyRequest.Builder mergeFrom(CreateExternalAccountKeyRequest other)
Parameter
Returns
public CreateExternalAccountKeyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateExternalAccountKeyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateExternalAccountKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateExternalAccountKeyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateExternalAccountKeyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateExternalAccountKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides