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