Class GcsOutputResult.Builder (3.27.0)

public static final class GcsOutputResult.Builder extends GeneratedMessageV3.Builder<GcsOutputResult.Builder> implements GcsOutputResultOrBuilder

A Cloud Storage output result.

Protobuf type google.cloud.asset.v1p7beta1.GcsOutputResult

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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
Name Description
values Iterable<String>

The uris to add.

Returns
Type Description
GcsOutputResult.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GcsOutputResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GcsOutputResult.Builder
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
Type Description
GcsOutputResult.Builder

This builder for chaining.

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
Type Description
GcsOutputResult.Builder

This builder for chaining.

build()

public GcsOutputResult build()
Returns
Type Description
GcsOutputResult

buildPartial()

public GcsOutputResult buildPartial()
Returns
Type Description
GcsOutputResult

clear()

public GcsOutputResult.Builder clear()
Returns
Type Description
GcsOutputResult.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GcsOutputResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GcsOutputResult.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GcsOutputResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GcsOutputResult.Builder
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
Type Description
GcsOutputResult.Builder

This builder for chaining.

clone()

public GcsOutputResult.Builder clone()
Returns
Type Description
GcsOutputResult.Builder
Overrides

getDefaultInstanceForType()

public GcsOutputResult getDefaultInstanceForType()
Returns
Type Description
GcsOutputResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
ProtocolStringList

A list containing the uris.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GcsOutputResult other)

public GcsOutputResult.Builder mergeFrom(GcsOutputResult other)
Parameter
Name Description
other GcsOutputResult
Returns
Type Description
GcsOutputResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GcsOutputResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcsOutputResult.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GcsOutputResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GcsOutputResult.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GcsOutputResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GcsOutputResult.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GcsOutputResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GcsOutputResult.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GcsOutputResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GcsOutputResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GcsOutputResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GcsOutputResult.Builder
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
Type Description
GcsOutputResult.Builder

This builder for chaining.