public static final class GcsOutputResult.Builder extends GeneratedMessageV3.Builder<GcsOutputResult.Builder> implements GcsOutputResultOrBuilder
A Cloud Storage output result.
Protobuf type google.cloud.asset.v1.GcsOutputResult
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllUris(Iterable<String> values)
public GcsOutputResult.Builder addAllUris(Iterable<String> values)
List of uris of the Cloud Storage objects. Example:
"gs://bucket_name/object_name".
repeated string uris = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcsOutputResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addUris(String value)
public GcsOutputResult.Builder addUris(String value)
List of uris of the Cloud Storage objects. Example:
"gs://bucket_name/object_name".
repeated string uris = 1;
Parameter
Name |
Description |
value |
String
The uris to add.
|
Returns
addUrisBytes(ByteString value)
public GcsOutputResult.Builder addUrisBytes(ByteString value)
List of uris of the Cloud Storage objects. Example:
"gs://bucket_name/object_name".
repeated string uris = 1;
Parameter
Name |
Description |
value |
ByteString
The bytes of the uris to add.
|
Returns
build()
public GcsOutputResult build()
Returns
buildPartial()
public GcsOutputResult buildPartial()
Returns
clear()
public GcsOutputResult.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GcsOutputResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GcsOutputResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUris()
public GcsOutputResult.Builder clearUris()
List of uris of the Cloud Storage objects. Example:
"gs://bucket_name/object_name".
repeated string uris = 1;
Returns
clone()
public GcsOutputResult.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GcsOutputResult getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getUris(int index)
public String getUris(int index)
List of uris of the Cloud Storage objects. Example:
"gs://bucket_name/object_name".
repeated string uris = 1;
Parameter
Name |
Description |
index |
int
The index of the element to return.
|
Returns
Type |
Description |
String |
The uris at the given index.
|
getUrisBytes(int index)
public ByteString getUrisBytes(int index)
List of uris of the Cloud Storage objects. Example:
"gs://bucket_name/object_name".
repeated string uris = 1;
Parameter
Name |
Description |
index |
int
The index of the value to return.
|
Returns
Type |
Description |
ByteString |
The bytes of the uris at the given index.
|
getUrisCount()
public int getUrisCount()
List of uris of the Cloud Storage objects. Example:
"gs://bucket_name/object_name".
repeated string uris = 1;
Returns
Type |
Description |
int |
The count of uris.
|
getUrisList()
public ProtocolStringList getUrisList()
List of uris of the Cloud Storage objects. Example:
"gs://bucket_name/object_name".
repeated string uris = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GcsOutputResult other)
public GcsOutputResult.Builder mergeFrom(GcsOutputResult other)
Parameter
Returns
public GcsOutputResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GcsOutputResult.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcsOutputResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GcsOutputResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GcsOutputResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GcsOutputResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUris(int index, String value)
public GcsOutputResult.Builder setUris(int index, String value)
List of uris of the Cloud Storage objects. Example:
"gs://bucket_name/object_name".
repeated string uris = 1;
Parameters
Name |
Description |
index |
int
The index to set the value at.
|
value |
String
The uris to set.
|
Returns