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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateExternalAccountKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateExternalAccountKeyRequest build()
buildPartial()
public CreateExternalAccountKeyRequest buildPartial()
clear()
public CreateExternalAccountKeyRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public CreateExternalAccountKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateExternalAccountKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public CreateExternalAccountKeyRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateExternalAccountKeyRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(CreateExternalAccountKeyRequest other)
public CreateExternalAccountKeyRequest.Builder mergeFrom(CreateExternalAccountKeyRequest other)
public CreateExternalAccountKeyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateExternalAccountKeyRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateExternalAccountKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateExternalAccountKeyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateExternalAccountKeyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateExternalAccountKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides