Package com.google.cloud.apihub.v1
Interface SecretOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Secret,Secret.Builder
@Generated
public interface SecretOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSecretVersion
String getSecretVersion()Required. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
string secret_version = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The secretVersion.
-
getSecretVersionBytes
com.google.protobuf.ByteString getSecretVersionBytes()Required. The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
string secret_version = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for secretVersion.
-