public static final class GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder extends GeneratedMessageV3.Builder<GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder> implements GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder
Specifies an artifact available as a Google Cloud Storage object.
Protobuf type google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.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 GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GuestPolicies.SoftwareRecipe.Artifact.Gcs build()
Returns
buildPartial()
public GuestPolicies.SoftwareRecipe.Artifact.Gcs buildPartial()
Returns
clear()
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder clear()
Returns
Overrides
clearBucket()
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder clearBucket()
Returns
clearField(Descriptors.FieldDescriptor field)
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGeneration()
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder clearGeneration()
Returns
clearObject()
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder clearObject()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder clone()
Returns
Overrides
getBucket()
public String getBucket()
Returns
Type | Description |
String | The bucket.
|
getBucketBytes()
public ByteString getBucketBytes()
Returns
getDefaultInstanceForType()
public GuestPolicies.SoftwareRecipe.Artifact.Gcs getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGeneration()
public long getGeneration()
Returns
Type | Description |
long | The generation.
|
getObject()
public String getObject()
Returns
Type | Description |
String | The object.
|
getObjectBytes()
public ByteString getObjectBytes()
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GuestPolicies.SoftwareRecipe.Artifact.Gcs other)
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder mergeFrom(GuestPolicies.SoftwareRecipe.Artifact.Gcs other)
Parameter
Returns
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setBucket(String value)
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder setBucket(String value)
Parameter
Name | Description |
value | String
The bucket to set.
|
Returns
setBucketBytes(ByteString value)
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder setBucketBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for bucket to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGeneration(long value)
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder setGeneration(long value)
Parameter
Name | Description |
value | long
The generation to set.
|
Returns
setObject(String value)
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder setObject(String value)
Parameter
Name | Description |
value | String
The object to set.
|
Returns
setObjectBytes(ByteString value)
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder setObjectBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for object to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies.SoftwareRecipe.Artifact.Gcs.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides