Class ImportAppResponse.Builder (0.1.0)

public static final class ImportAppResponse.Builder extends GeneratedMessage.Builder<ImportAppResponse.Builder> implements ImportAppResponseOrBuilder

Response message for AgentService.ImportApp.

Protobuf type google.cloud.ces.v1.ImportAppResponse

Static Methods

getDescriptor()

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

Methods

addAllWarnings(Iterable<String> values)

public ImportAppResponse.Builder addAllWarnings(Iterable<String> values)

Warning messages generated during the import process. If errors occur for specific resources, they will not be included in the imported app and the error will be mentioned here.

repeated string warnings = 2;

Parameter
Name Description
values Iterable<String>

The warnings to add.

Returns
Type Description
ImportAppResponse.Builder

This builder for chaining.

addWarnings(String value)

public ImportAppResponse.Builder addWarnings(String value)

Warning messages generated during the import process. If errors occur for specific resources, they will not be included in the imported app and the error will be mentioned here.

repeated string warnings = 2;

Parameter
Name Description
value String

The warnings to add.

Returns
Type Description
ImportAppResponse.Builder

This builder for chaining.

addWarningsBytes(ByteString value)

public ImportAppResponse.Builder addWarningsBytes(ByteString value)

Warning messages generated during the import process. If errors occur for specific resources, they will not be included in the imported app and the error will be mentioned here.

repeated string warnings = 2;

Parameter
Name Description
value ByteString

The bytes of the warnings to add.

Returns
Type Description
ImportAppResponse.Builder

This builder for chaining.

build()

public ImportAppResponse build()
Returns
Type Description
ImportAppResponse

buildPartial()

public ImportAppResponse buildPartial()
Returns
Type Description
ImportAppResponse

clear()

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

clearName()

public ImportAppResponse.Builder clearName()

The resource name of the app that was imported.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ImportAppResponse.Builder

This builder for chaining.

clearWarnings()

public ImportAppResponse.Builder clearWarnings()

Warning messages generated during the import process. If errors occur for specific resources, they will not be included in the imported app and the error will be mentioned here.

repeated string warnings = 2;

Returns
Type Description
ImportAppResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ImportAppResponse getDefaultInstanceForType()
Returns
Type Description
ImportAppResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

The resource name of the app that was imported.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the app that was imported.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getWarnings(int index)

public String getWarnings(int index)

Warning messages generated during the import process. If errors occur for specific resources, they will not be included in the imported app and the error will be mentioned here.

repeated string warnings = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The warnings at the given index.

getWarningsBytes(int index)

public ByteString getWarningsBytes(int index)

Warning messages generated during the import process. If errors occur for specific resources, they will not be included in the imported app and the error will be mentioned here.

repeated string warnings = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the warnings at the given index.

getWarningsCount()

public int getWarningsCount()

Warning messages generated during the import process. If errors occur for specific resources, they will not be included in the imported app and the error will be mentioned here.

repeated string warnings = 2;

Returns
Type Description
int

The count of warnings.

getWarningsList()

public ProtocolStringList getWarningsList()

Warning messages generated during the import process. If errors occur for specific resources, they will not be included in the imported app and the error will be mentioned here.

repeated string warnings = 2;

Returns
Type Description
ProtocolStringList

A list containing the warnings.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportAppResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public ImportAppResponse.Builder setName(String value)

The resource name of the app that was imported.

string name = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ImportAppResponse.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ImportAppResponse.Builder setNameBytes(ByteString value)

The resource name of the app that was imported.

string name = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ImportAppResponse.Builder

This builder for chaining.

setWarnings(int index, String value)

public ImportAppResponse.Builder setWarnings(int index, String value)

Warning messages generated during the import process. If errors occur for specific resources, they will not be included in the imported app and the error will be mentioned here.

repeated string warnings = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The warnings to set.

Returns
Type Description
ImportAppResponse.Builder

This builder for chaining.