public static final class UpdateSecretRequest.Builder extends GeneratedMessageV3.Builder<UpdateSecretRequest.Builder> implements UpdateSecretRequestOrBuilder
Request message for SecretManagerService.UpdateSecret.
Protobuf type google.cloud.secrets.v1beta1.UpdateSecretRequest
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateSecretRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateSecretRequest build()
buildPartial()
public UpdateSecretRequest buildPartial()
clear()
public UpdateSecretRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSecretRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSecretRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSecret()
public UpdateSecretRequest.Builder clearSecret()
Required. Secret with updated field values.
.google.cloud.secrets.v1beta1.Secret secret = 1 [(.google.api.field_behavior) = REQUIRED];
clearUpdateMask()
public UpdateSecretRequest.Builder clearUpdateMask()
Required. Specifies the fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateSecretRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateSecretRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSecret()
public Secret getSecret()
Required. Secret with updated field values.
.google.cloud.secrets.v1beta1.Secret secret = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Secret | The secret.
|
getSecretBuilder()
public Secret.Builder getSecretBuilder()
Required. Secret with updated field values.
.google.cloud.secrets.v1beta1.Secret secret = 1 [(.google.api.field_behavior) = REQUIRED];
getSecretOrBuilder()
public SecretOrBuilder getSecretOrBuilder()
Required. Secret with updated field values.
.google.cloud.secrets.v1beta1.Secret secret = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Required. Specifies the fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. Specifies the fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. Specifies the fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
hasSecret()
public boolean hasSecret()
Required. Secret with updated field values.
.google.cloud.secrets.v1beta1.Secret secret = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the secret field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. Specifies the fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateSecretRequest other)
public UpdateSecretRequest.Builder mergeFrom(UpdateSecretRequest other)
public UpdateSecretRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateSecretRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeSecret(Secret value)
public UpdateSecretRequest.Builder mergeSecret(Secret value)
Required. Secret with updated field values.
.google.cloud.secrets.v1beta1.Secret secret = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Secret
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSecretRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateSecretRequest.Builder mergeUpdateMask(FieldMask value)
Required. Specifies the fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSecretRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSecretRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSecret(Secret value)
public UpdateSecretRequest.Builder setSecret(Secret value)
Required. Secret with updated field values.
.google.cloud.secrets.v1beta1.Secret secret = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Secret
|
setSecret(Secret.Builder builderForValue)
public UpdateSecretRequest.Builder setSecret(Secret.Builder builderForValue)
Required. Secret with updated field values.
.google.cloud.secrets.v1beta1.Secret secret = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSecretRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateSecretRequest.Builder setUpdateMask(FieldMask value)
Required. Specifies the fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateSecretRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. Specifies the fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
builderForValue | Builder
|