Package com.google.cloud.osconfig.v1beta
Interface GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GuestPolicies.SoftwareRecipe.Artifact.Gcs,GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder
- Enclosing class:
- GuestPolicies.SoftwareRecipe.Artifact
public static interface GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionBucket of the Google Cloud Storage object.com.google.protobuf.ByteStringBucket of the Google Cloud Storage object.longMust be provided if allow_insecure is false.Name of the Google Cloud Storage object.com.google.protobuf.ByteStringName of the Google Cloud Storage object.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
-
getBucket
String getBucket()Bucket of the Google Cloud Storage object. Given an example URL: `https://storage.googleapis.com/my-bucket/foo/bar#1234567` this value would be `my-bucket`.
string bucket = 1;- Returns:
- The bucket.
-
getBucketBytes
com.google.protobuf.ByteString getBucketBytes()Bucket of the Google Cloud Storage object. Given an example URL: `https://storage.googleapis.com/my-bucket/foo/bar#1234567` this value would be `my-bucket`.
string bucket = 1;- Returns:
- The bytes for bucket.
-
getObject
String getObject()Name of the Google Cloud Storage object. As specified [here] (https://cloud.google.com/storage/docs/naming#objectnames) Given an example URL: `https://storage.googleapis.com/my-bucket/foo/bar#1234567` this value would be `foo/bar`.
string object = 2;- Returns:
- The object.
-
getObjectBytes
com.google.protobuf.ByteString getObjectBytes()Name of the Google Cloud Storage object. As specified [here] (https://cloud.google.com/storage/docs/naming#objectnames) Given an example URL: `https://storage.googleapis.com/my-bucket/foo/bar#1234567` this value would be `foo/bar`.
string object = 2;- Returns:
- The bytes for object.
-
getGeneration
long getGeneration()Must be provided if allow_insecure is false. Generation number of the Google Cloud Storage object. `https://storage.googleapis.com/my-bucket/foo/bar#1234567` this value would be `1234567`.
int64 generation = 3;- Returns:
- The generation.
-