Class ExportAssetsResponse.Builder

public static final class ExportAssetsResponse.Builder extends GeneratedMessageV3.Builder<ExportAssetsResponse.Builder> implements ExportAssetsResponseOrBuilder

The export asset response. This message is returned by the google.longrunning.Operations.GetOperation method in the returned google.longrunning.Operation.response field.

Protobuf type google.cloud.asset.v1.ExportAssetsResponse

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportAssetsResponse build()
Returns
TypeDescription
ExportAssetsResponse

buildPartial()

public ExportAssetsResponse buildPartial()
Returns
TypeDescription
ExportAssetsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportAssetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExportAssetsResponse.Builder
Overrides

clearOutputConfig()

public ExportAssetsResponse.Builder clearOutputConfig()

Output configuration indicating where the results were output to.

.google.cloud.asset.v1.OutputConfig output_config = 2;

Returns
TypeDescription
ExportAssetsResponse.Builder

clearOutputResult()

public ExportAssetsResponse.Builder clearOutputResult()

Output result indicating where the assets were exported to. For example, a set of actual Google Cloud Storage object uris where the assets are exported to. The uris can be different from what [output_config] has specified, as the service will split the output object into multiple ones once it exceeds a single Google Cloud Storage object limit.

.google.cloud.asset.v1.OutputResult output_result = 3;

Returns
TypeDescription
ExportAssetsResponse.Builder

clearReadTime()

public ExportAssetsResponse.Builder clearReadTime()

Time the snapshot was taken.

.google.protobuf.Timestamp read_time = 1;

Returns
TypeDescription
ExportAssetsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ExportAssetsResponse getDefaultInstanceForType()
Returns
TypeDescription
ExportAssetsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOutputConfig()

public OutputConfig getOutputConfig()

Output configuration indicating where the results were output to.

.google.cloud.asset.v1.OutputConfig output_config = 2;

Returns
TypeDescription
OutputConfig

The outputConfig.

getOutputConfigBuilder()

public OutputConfig.Builder getOutputConfigBuilder()

Output configuration indicating where the results were output to.

.google.cloud.asset.v1.OutputConfig output_config = 2;

Returns
TypeDescription
OutputConfig.Builder

getOutputConfigOrBuilder()

public OutputConfigOrBuilder getOutputConfigOrBuilder()

Output configuration indicating where the results were output to.

.google.cloud.asset.v1.OutputConfig output_config = 2;

Returns
TypeDescription
OutputConfigOrBuilder

getOutputResult()

public OutputResult getOutputResult()

Output result indicating where the assets were exported to. For example, a set of actual Google Cloud Storage object uris where the assets are exported to. The uris can be different from what [output_config] has specified, as the service will split the output object into multiple ones once it exceeds a single Google Cloud Storage object limit.

.google.cloud.asset.v1.OutputResult output_result = 3;

Returns
TypeDescription
OutputResult

The outputResult.

getOutputResultBuilder()

public OutputResult.Builder getOutputResultBuilder()

Output result indicating where the assets were exported to. For example, a set of actual Google Cloud Storage object uris where the assets are exported to. The uris can be different from what [output_config] has specified, as the service will split the output object into multiple ones once it exceeds a single Google Cloud Storage object limit.

.google.cloud.asset.v1.OutputResult output_result = 3;

Returns
TypeDescription
OutputResult.Builder

getOutputResultOrBuilder()

public OutputResultOrBuilder getOutputResultOrBuilder()

Output result indicating where the assets were exported to. For example, a set of actual Google Cloud Storage object uris where the assets are exported to. The uris can be different from what [output_config] has specified, as the service will split the output object into multiple ones once it exceeds a single Google Cloud Storage object limit.

.google.cloud.asset.v1.OutputResult output_result = 3;

Returns
TypeDescription
OutputResultOrBuilder

getReadTime()

public Timestamp getReadTime()

Time the snapshot was taken.

.google.protobuf.Timestamp read_time = 1;

Returns
TypeDescription
Timestamp

The readTime.

getReadTimeBuilder()

public Timestamp.Builder getReadTimeBuilder()

Time the snapshot was taken.

.google.protobuf.Timestamp read_time = 1;

Returns
TypeDescription
Builder

getReadTimeOrBuilder()

public TimestampOrBuilder getReadTimeOrBuilder()

Time the snapshot was taken.

.google.protobuf.Timestamp read_time = 1;

Returns
TypeDescription
TimestampOrBuilder

hasOutputConfig()

public boolean hasOutputConfig()

Output configuration indicating where the results were output to.

.google.cloud.asset.v1.OutputConfig output_config = 2;

Returns
TypeDescription
boolean

Whether the outputConfig field is set.

hasOutputResult()

public boolean hasOutputResult()

Output result indicating where the assets were exported to. For example, a set of actual Google Cloud Storage object uris where the assets are exported to. The uris can be different from what [output_config] has specified, as the service will split the output object into multiple ones once it exceeds a single Google Cloud Storage object limit.

.google.cloud.asset.v1.OutputResult output_result = 3;

Returns
TypeDescription
boolean

Whether the outputResult field is set.

hasReadTime()

public boolean hasReadTime()

Time the snapshot was taken.

.google.protobuf.Timestamp read_time = 1;

Returns
TypeDescription
boolean

Whether the readTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExportAssetsResponse other)

public ExportAssetsResponse.Builder mergeFrom(ExportAssetsResponse other)
Parameter
NameDescription
otherExportAssetsResponse
Returns
TypeDescription
ExportAssetsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOutputConfig(OutputConfig value)

public ExportAssetsResponse.Builder mergeOutputConfig(OutputConfig value)

Output configuration indicating where the results were output to.

.google.cloud.asset.v1.OutputConfig output_config = 2;

Parameter
NameDescription
valueOutputConfig
Returns
TypeDescription
ExportAssetsResponse.Builder

mergeOutputResult(OutputResult value)

public ExportAssetsResponse.Builder mergeOutputResult(OutputResult value)

Output result indicating where the assets were exported to. For example, a set of actual Google Cloud Storage object uris where the assets are exported to. The uris can be different from what [output_config] has specified, as the service will split the output object into multiple ones once it exceeds a single Google Cloud Storage object limit.

.google.cloud.asset.v1.OutputResult output_result = 3;

Parameter
NameDescription
valueOutputResult
Returns
TypeDescription
ExportAssetsResponse.Builder

mergeReadTime(Timestamp value)

public ExportAssetsResponse.Builder mergeReadTime(Timestamp value)

Time the snapshot was taken.

.google.protobuf.Timestamp read_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ExportAssetsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOutputConfig(OutputConfig value)

public ExportAssetsResponse.Builder setOutputConfig(OutputConfig value)

Output configuration indicating where the results were output to.

.google.cloud.asset.v1.OutputConfig output_config = 2;

Parameter
NameDescription
valueOutputConfig
Returns
TypeDescription
ExportAssetsResponse.Builder

setOutputConfig(OutputConfig.Builder builderForValue)

public ExportAssetsResponse.Builder setOutputConfig(OutputConfig.Builder builderForValue)

Output configuration indicating where the results were output to.

.google.cloud.asset.v1.OutputConfig output_config = 2;

Parameter
NameDescription
builderForValueOutputConfig.Builder
Returns
TypeDescription
ExportAssetsResponse.Builder

setOutputResult(OutputResult value)

public ExportAssetsResponse.Builder setOutputResult(OutputResult value)

Output result indicating where the assets were exported to. For example, a set of actual Google Cloud Storage object uris where the assets are exported to. The uris can be different from what [output_config] has specified, as the service will split the output object into multiple ones once it exceeds a single Google Cloud Storage object limit.

.google.cloud.asset.v1.OutputResult output_result = 3;

Parameter
NameDescription
valueOutputResult
Returns
TypeDescription
ExportAssetsResponse.Builder

setOutputResult(OutputResult.Builder builderForValue)

public ExportAssetsResponse.Builder setOutputResult(OutputResult.Builder builderForValue)

Output result indicating where the assets were exported to. For example, a set of actual Google Cloud Storage object uris where the assets are exported to. The uris can be different from what [output_config] has specified, as the service will split the output object into multiple ones once it exceeds a single Google Cloud Storage object limit.

.google.cloud.asset.v1.OutputResult output_result = 3;

Parameter
NameDescription
builderForValueOutputResult.Builder
Returns
TypeDescription
ExportAssetsResponse.Builder

setReadTime(Timestamp value)

public ExportAssetsResponse.Builder setReadTime(Timestamp value)

Time the snapshot was taken.

.google.protobuf.Timestamp read_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ExportAssetsResponse.Builder

setReadTime(Timestamp.Builder builderForValue)

public ExportAssetsResponse.Builder setReadTime(Timestamp.Builder builderForValue)

Time the snapshot was taken.

.google.protobuf.Timestamp read_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ExportAssetsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportAssetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportAssetsResponse.Builder
Overrides