public static final class OSPolicy.Resource.File.Gcs.Builder extends GeneratedMessageV3.Builder<OSPolicy.Resource.File.Gcs.Builder> implements OSPolicy.Resource.File.GcsOrBuilder
Specifies a file available as a Cloud Storage Object.
Protobuf type google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OSPolicy.Resource.File.Gcs.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public OSPolicy.Resource.File.Gcs build()
Returns
buildPartial()
public OSPolicy.Resource.File.Gcs buildPartial()
Returns
clear()
public OSPolicy.Resource.File.Gcs.Builder clear()
Returns
Overrides
clearBucket()
public OSPolicy.Resource.File.Gcs.Builder clearBucket()
Required. Bucket of the Cloud Storage object.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public OSPolicy.Resource.File.Gcs.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGeneration()
public OSPolicy.Resource.File.Gcs.Builder clearGeneration()
Generation number of the Cloud Storage object.
int64 generation = 3;
Returns
clearObject()
public OSPolicy.Resource.File.Gcs.Builder clearObject()
Required. Name of the Cloud Storage object.
string object = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public OSPolicy.Resource.File.Gcs.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public OSPolicy.Resource.File.Gcs.Builder clone()
Returns
Overrides
getBucket()
public String getBucket()
Required. Bucket of the Cloud Storage object.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The bucket.
|
getBucketBytes()
public ByteString getBucketBytes()
Required. Bucket of the Cloud Storage object.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public OSPolicy.Resource.File.Gcs getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGeneration()
public long getGeneration()
Generation number of the Cloud Storage object.
int64 generation = 3;
Returns
Type | Description |
long | The generation.
|
getObject()
public String getObject()
Required. Name of the Cloud Storage object.
string object = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The object.
|
getObjectBytes()
public ByteString getObjectBytes()
Required. Name of the Cloud Storage object.
string object = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(OSPolicy.Resource.File.Gcs other)
public OSPolicy.Resource.File.Gcs.Builder mergeFrom(OSPolicy.Resource.File.Gcs other)
Parameter
Returns
public OSPolicy.Resource.File.Gcs.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns