public final class UpdateSecretRequest extends GeneratedMessageV3 implements UpdateSecretRequestOrBuilder
Request message for SecretManagerService.UpdateSecret.
Protobuf type google.cloud.secretmanager.v1.UpdateSecretRequest
Static Fields
SECRET_FIELD_NUMBER
public static final int SECRET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static UpdateSecretRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpdateSecretRequest.Builder newBuilder()
newBuilder(UpdateSecretRequest prototype)
public static UpdateSecretRequest.Builder newBuilder(UpdateSecretRequest prototype)
public static UpdateSecretRequest parseDelimitedFrom(InputStream input)
public static UpdateSecretRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateSecretRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateSecretRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateSecretRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateSecretRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateSecretRequest parseFrom(CodedInputStream input)
public static UpdateSecretRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateSecretRequest parseFrom(InputStream input)
public static UpdateSecretRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateSecretRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateSecretRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateSecretRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public UpdateSecretRequest getDefaultInstanceForType()
getParserForType()
public Parser<UpdateSecretRequest> getParserForType()
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.
|
getSecretOrBuilder()
public SecretOrBuilder getSecretOrBuilder()
Required. Secret with updated field values.
.google.cloud.secretmanager.v1.Secret secret = 1 [(.google.api.field_behavior) = REQUIRED];
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
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.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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateSecretRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateSecretRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public UpdateSecretRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides