public static final class ApiHubInstance.Config.Builder extends GeneratedMessageV3.Builder<ApiHubInstance.Config.Builder> implements ApiHubInstance.ConfigOrBuilder
Available configurations to provision an ApiHub Instance.
Protobuf type google.cloud.apihub.v1.ApiHubInstance.Config
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 ApiHubInstance.Config.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ApiHubInstance.Config build()
buildPartial()
public ApiHubInstance.Config buildPartial()
clear()
public ApiHubInstance.Config.Builder clear()
Overrides
clearCmekKeyName()
public ApiHubInstance.Config.Builder clearCmekKeyName()
Required. The Customer Managed Encryption Key (CMEK) used for data
encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
,
where the location must match the instance location.
string cmek_key_name = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public ApiHubInstance.Config.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ApiHubInstance.Config.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ApiHubInstance.Config.Builder clone()
Overrides
getCmekKeyName()
public String getCmekKeyName()
Required. The Customer Managed Encryption Key (CMEK) used for data
encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
,
where the location must match the instance location.
string cmek_key_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The cmekKeyName.
|
getCmekKeyNameBytes()
public ByteString getCmekKeyNameBytes()
Required. The Customer Managed Encryption Key (CMEK) used for data
encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
,
where the location must match the instance location.
string cmek_key_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for cmekKeyName.
|
getDefaultInstanceForType()
public ApiHubInstance.Config getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ApiHubInstance.Config other)
public ApiHubInstance.Config.Builder mergeFrom(ApiHubInstance.Config other)
public ApiHubInstance.Config.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ApiHubInstance.Config.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ApiHubInstance.Config.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCmekKeyName(String value)
public ApiHubInstance.Config.Builder setCmekKeyName(String value)
Required. The Customer Managed Encryption Key (CMEK) used for data
encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
,
where the location must match the instance location.
string cmek_key_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The cmekKeyName to set.
|
setCmekKeyNameBytes(ByteString value)
public ApiHubInstance.Config.Builder setCmekKeyNameBytes(ByteString value)
Required. The Customer Managed Encryption Key (CMEK) used for data
encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
,
where the location must match the instance location.
string cmek_key_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for cmekKeyName to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ApiHubInstance.Config.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ApiHubInstance.Config.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ApiHubInstance.Config.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides