public static final class CreateEkmConnectionRequest.Builder extends GeneratedMessageV3.Builder<CreateEkmConnectionRequest.Builder> implements CreateEkmConnectionRequestOrBuilder
Request message for
EkmService.CreateEkmConnection.
Protobuf type google.cloud.kms.v1.CreateEkmConnectionRequest
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 CreateEkmConnectionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateEkmConnectionRequest build()
Returns
buildPartial()
public CreateEkmConnectionRequest buildPartial()
Returns
clear()
public CreateEkmConnectionRequest.Builder clear()
Returns
Overrides
clearEkmConnection()
public CreateEkmConnectionRequest.Builder clearEkmConnection()
Required. An EkmConnection with
initial field values.
.google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearEkmConnectionId()
public CreateEkmConnectionRequest.Builder clearEkmConnectionId()
Required. It must be unique within a location and match the regular
expression [a-zA-Z0-9_-]{1,63}
.
string ekm_connection_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateEkmConnectionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateEkmConnectionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateEkmConnectionRequest.Builder clearParent()
Required. The resource name of the location associated with the
EkmConnection, in the format
projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public CreateEkmConnectionRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateEkmConnectionRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEkmConnection()
public EkmConnection getEkmConnection()
Required. An EkmConnection with
initial field values.
.google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getEkmConnectionBuilder()
public EkmConnection.Builder getEkmConnectionBuilder()
Required. An EkmConnection with
initial field values.
.google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getEkmConnectionId()
public String getEkmConnectionId()
Required. It must be unique within a location and match the regular
expression [a-zA-Z0-9_-]{1,63}
.
string ekm_connection_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The ekmConnectionId.
|
getEkmConnectionIdBytes()
public ByteString getEkmConnectionIdBytes()
Required. It must be unique within a location and match the regular
expression [a-zA-Z0-9_-]{1,63}
.
string ekm_connection_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for ekmConnectionId.
|
getEkmConnectionOrBuilder()
public EkmConnectionOrBuilder getEkmConnectionOrBuilder()
Required. An EkmConnection with
initial field values.
.google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getParent()
public String getParent()
Required. The resource name of the location associated with the
EkmConnection, in the format
projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The resource name of the location associated with the
EkmConnection, in the format
projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
hasEkmConnection()
public boolean hasEkmConnection()
Required. An EkmConnection with
initial field values.
.google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the ekmConnection field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeEkmConnection(EkmConnection value)
public CreateEkmConnectionRequest.Builder mergeEkmConnection(EkmConnection value)
Required. An EkmConnection with
initial field values.
.google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(CreateEkmConnectionRequest other)
public CreateEkmConnectionRequest.Builder mergeFrom(CreateEkmConnectionRequest other)
Parameter
Returns
public CreateEkmConnectionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateEkmConnectionRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateEkmConnectionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEkmConnection(EkmConnection value)
public CreateEkmConnectionRequest.Builder setEkmConnection(EkmConnection value)
Required. An EkmConnection with
initial field values.
.google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setEkmConnection(EkmConnection.Builder builderForValue)
public CreateEkmConnectionRequest.Builder setEkmConnection(EkmConnection.Builder builderForValue)
Required. An EkmConnection with
initial field values.
.google.cloud.kms.v1.EkmConnection ekm_connection = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setEkmConnectionId(String value)
public CreateEkmConnectionRequest.Builder setEkmConnectionId(String value)
Required. It must be unique within a location and match the regular
expression [a-zA-Z0-9_-]{1,63}
.
string ekm_connection_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The ekmConnectionId to set.
|
Returns
setEkmConnectionIdBytes(ByteString value)
public CreateEkmConnectionRequest.Builder setEkmConnectionIdBytes(ByteString value)
Required. It must be unique within a location and match the regular
expression [a-zA-Z0-9_-]{1,63}
.
string ekm_connection_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for ekmConnectionId to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateEkmConnectionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public CreateEkmConnectionRequest.Builder setParent(String value)
Required. The resource name of the location associated with the
EkmConnection, in the format
projects/*/locations/*
.
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 CreateEkmConnectionRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the location associated with the
EkmConnection, in the format
projects/*/locations/*
.
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 CreateEkmConnectionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateEkmConnectionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides