public static final class GcsSource.Builder extends GeneratedMessageV3.Builder<GcsSource.Builder> implements GcsSourceOrBuilder
Defines how to access Cloud Storage source.
Protobuf type google.cloud.privatecatalog.v1beta1.GcsSource
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcsSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public GcsSource buildPartial()
Returns
clear()
public GcsSource.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GcsSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGcsPath()
public GcsSource.Builder clearGcsPath()
Output only. the cloud storage object path.
string gcs_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearGeneration()
public GcsSource.Builder clearGeneration()
Output only. Generation of the object, which is set when the content of an object starts
being written.
int64 generation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GcsSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateTime()
public GcsSource.Builder clearUpdateTime()
Output only. The time when the object metadata was last changed.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clone()
public GcsSource.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GcsSource getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGcsPath()
public String getGcsPath()
Output only. the cloud storage object path.
string gcs_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The gcsPath.
|
getGcsPathBytes()
public ByteString getGcsPathBytes()
Output only. the cloud storage object path.
string gcs_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getGeneration()
public long getGeneration()
Output only. Generation of the object, which is set when the content of an object starts
being written.
int64 generation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
long | The generation.
|
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time when the object metadata was last changed.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The time when the object metadata was last changed.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the object metadata was last changed.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time when the object metadata was last changed.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the updateTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GcsSource other)
public GcsSource.Builder mergeFrom(GcsSource other)
Parameter
Returns
public GcsSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GcsSource.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcsSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateTime(Timestamp value)
public GcsSource.Builder mergeUpdateTime(Timestamp value)
Output only. The time when the object metadata was last changed.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public GcsSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGcsPath(String value)
public GcsSource.Builder setGcsPath(String value)
Output only. the cloud storage object path.
string gcs_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | String
The gcsPath to set.
|
Returns
setGcsPathBytes(ByteString value)
public GcsSource.Builder setGcsPathBytes(ByteString value)
Output only. the cloud storage object path.
string gcs_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | ByteString
The bytes for gcsPath to set.
|
Returns
setGeneration(long value)
public GcsSource.Builder setGeneration(long value)
Output only. Generation of the object, which is set when the content of an object starts
being written.
int64 generation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | long
The generation to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GcsSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GcsSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateTime(Timestamp value)
public GcsSource.Builder setUpdateTime(Timestamp value)
Output only. The time when the object metadata was last changed.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setUpdateTime(Timestamp.Builder builderForValue)
public GcsSource.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The time when the object metadata was last changed.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
builderForValue | Builder
|
Returns