Class GcsOutputResult.Builder (3.7.1)

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
TypeDescription
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
NameDescription
valuesIterable<String>

The uris to add.

Returns
TypeDescription
GcsOutputResult.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GcsOutputResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The uris to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the uris to add.

Returns
TypeDescription
GcsOutputResult.Builder

This builder for chaining.

build()

public GcsOutputResult build()
Returns
TypeDescription
GcsOutputResult

buildPartial()

public GcsOutputResult buildPartial()
Returns
TypeDescription
GcsOutputResult

clear()

public GcsOutputResult.Builder clear()
Returns
TypeDescription
GcsOutputResult.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GcsOutputResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GcsOutputResult.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GcsOutputResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
GcsOutputResult.Builder

This builder for chaining.

clone()

public GcsOutputResult.Builder clone()
Returns
TypeDescription
GcsOutputResult.Builder
Overrides

getDefaultInstanceForType()

public GcsOutputResult getDefaultInstanceForType()
Returns
TypeDescription
GcsOutputResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the uris.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GcsOutputResult other)

public GcsOutputResult.Builder mergeFrom(GcsOutputResult other)
Parameter
NameDescription
otherGcsOutputResult
Returns
TypeDescription
GcsOutputResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GcsOutputResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GcsOutputResult.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GcsOutputResult.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GcsOutputResult.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GcsOutputResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GcsOutputResult.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GcsOutputResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GcsOutputResult.Builder
Overrides

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

public GcsOutputResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GcsOutputResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GcsOutputResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The uris to set.

Returns
TypeDescription
GcsOutputResult.Builder

This builder for chaining.