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.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 CreateEkmConnectionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateEkmConnectionRequest build()
buildPartial()
public CreateEkmConnectionRequest buildPartial()
clear()
public CreateEkmConnectionRequest.Builder clear()
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];
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];
clearField(Descriptors.FieldDescriptor field)
public CreateEkmConnectionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateEkmConnectionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public CreateEkmConnectionRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateEkmConnectionRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(CreateEkmConnectionRequest other)
public CreateEkmConnectionRequest.Builder mergeFrom(CreateEkmConnectionRequest other)
public CreateEkmConnectionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateEkmConnectionRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateEkmConnectionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateEkmConnectionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateEkmConnectionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateEkmConnectionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides