- 2.87.0 (latest)
- 2.85.0
- 2.84.0
- 2.82.0
- 2.80.0
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.72.0
- 2.70.0
- 2.69.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
public static final class PatchJobs.GcsObject.Builder extends GeneratedMessage.Builder<PatchJobs.GcsObject.Builder> implements PatchJobs.GcsObjectOrBuilderCloud Storage object representation.
Protobuf type google.cloud.osconfig.v1.GcsObject
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PatchJobs.GcsObject.BuilderImplements
PatchJobs.GcsObjectOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PatchJobs.GcsObject build()| Returns | |
|---|---|
| Type | Description |
PatchJobs.GcsObject |
|
buildPartial()
public PatchJobs.GcsObject buildPartial()| Returns | |
|---|---|
| Type | Description |
PatchJobs.GcsObject |
|
clear()
public PatchJobs.GcsObject.Builder clear()| Returns | |
|---|---|
| Type | Description |
PatchJobs.GcsObject.Builder |
|
clearBucket()
public PatchJobs.GcsObject.Builder clearBucket()Required. Bucket of the Cloud Storage object.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PatchJobs.GcsObject.Builder |
This builder for chaining. |
clearGenerationNumber()
public PatchJobs.GcsObject.Builder clearGenerationNumber()Required. Generation number of the Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change.
int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PatchJobs.GcsObject.Builder |
This builder for chaining. |
clearObject()
public PatchJobs.GcsObject.Builder clearObject()Required. Name of the Cloud Storage object.
string object = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PatchJobs.GcsObject.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for bucket. |
getDefaultInstanceForType()
public PatchJobs.GcsObject getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PatchJobs.GcsObject |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGenerationNumber()
public long getGenerationNumber()Required. Generation number of the Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change.
int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The generationNumber. |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for object. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PatchJobs.GcsObject other)
public PatchJobs.GcsObject.Builder mergeFrom(PatchJobs.GcsObject other)| Parameter | |
|---|---|
| Name | Description |
other |
PatchJobs.GcsObject |
| Returns | |
|---|---|
| Type | Description |
PatchJobs.GcsObject.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PatchJobs.GcsObject.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PatchJobs.GcsObject.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PatchJobs.GcsObject.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PatchJobs.GcsObject.Builder |
|
setBucket(String value)
public PatchJobs.GcsObject.Builder setBucket(String value)Required. Bucket of the Cloud Storage object.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe bucket to set. |
| Returns | |
|---|---|
| Type | Description |
PatchJobs.GcsObject.Builder |
This builder for chaining. |
setBucketBytes(ByteString value)
public PatchJobs.GcsObject.Builder setBucketBytes(ByteString value)Required. Bucket of the Cloud Storage object.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for bucket to set. |
| Returns | |
|---|---|
| Type | Description |
PatchJobs.GcsObject.Builder |
This builder for chaining. |
setGenerationNumber(long value)
public PatchJobs.GcsObject.Builder setGenerationNumber(long value)Required. Generation number of the Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change.
int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe generationNumber to set. |
| Returns | |
|---|---|
| Type | Description |
PatchJobs.GcsObject.Builder |
This builder for chaining. |
setObject(String value)
public PatchJobs.GcsObject.Builder setObject(String value)Required. Name of the Cloud Storage object.
string object = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe object to set. |
| Returns | |
|---|---|
| Type | Description |
PatchJobs.GcsObject.Builder |
This builder for chaining. |
setObjectBytes(ByteString value)
public PatchJobs.GcsObject.Builder setObjectBytes(ByteString value)Required. Name of the Cloud Storage object.
string object = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for object to set. |
| Returns | |
|---|---|
| Type | Description |
PatchJobs.GcsObject.Builder |
This builder for chaining. |