Send feedback
Class GcsSource.Builder (0.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.13.0keyboard_arrow_down
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
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 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
Type
Description
ByteString
The bytes for gcsPath.
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-12 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-12 UTC."],[],[]]