Class FetchDataSourceReferencesForResourceTypeResponse.Builder (0.42.0)

public static final class FetchDataSourceReferencesForResourceTypeResponse.Builder extends GeneratedMessage.Builder<FetchDataSourceReferencesForResourceTypeResponse.Builder> implements FetchDataSourceReferencesForResourceTypeResponseOrBuilder

Response for the FetchDataSourceReferencesForResourceType method.

Protobuf type google.cloud.backupdr.v1.FetchDataSourceReferencesForResourceTypeResponse

Static Methods

getDescriptor()

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

Methods

addAllDataSourceReferences(Iterable<? extends DataSourceReference> values)

public FetchDataSourceReferencesForResourceTypeResponse.Builder addAllDataSourceReferences(Iterable<? extends DataSourceReference> values)

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.backupdr.v1.DataSourceReference>
Returns
Type Description
FetchDataSourceReferencesForResourceTypeResponse.Builder

addDataSourceReferences(DataSourceReference value)

public FetchDataSourceReferencesForResourceTypeResponse.Builder addDataSourceReferences(DataSourceReference value)

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Parameter
Name Description
value DataSourceReference
Returns
Type Description
FetchDataSourceReferencesForResourceTypeResponse.Builder

addDataSourceReferences(DataSourceReference.Builder builderForValue)

public FetchDataSourceReferencesForResourceTypeResponse.Builder addDataSourceReferences(DataSourceReference.Builder builderForValue)

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Parameter
Name Description
builderForValue DataSourceReference.Builder
Returns
Type Description
FetchDataSourceReferencesForResourceTypeResponse.Builder

addDataSourceReferences(int index, DataSourceReference value)

public FetchDataSourceReferencesForResourceTypeResponse.Builder addDataSourceReferences(int index, DataSourceReference value)

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Parameters
Name Description
index int
value DataSourceReference
Returns
Type Description
FetchDataSourceReferencesForResourceTypeResponse.Builder

addDataSourceReferences(int index, DataSourceReference.Builder builderForValue)

public FetchDataSourceReferencesForResourceTypeResponse.Builder addDataSourceReferences(int index, DataSourceReference.Builder builderForValue)

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Parameters
Name Description
index int
builderForValue DataSourceReference.Builder
Returns
Type Description
FetchDataSourceReferencesForResourceTypeResponse.Builder

addDataSourceReferencesBuilder()

public DataSourceReference.Builder addDataSourceReferencesBuilder()

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Returns
Type Description
DataSourceReference.Builder

addDataSourceReferencesBuilder(int index)

public DataSourceReference.Builder addDataSourceReferencesBuilder(int index)

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Parameter
Name Description
index int
Returns
Type Description
DataSourceReference.Builder

build()

public FetchDataSourceReferencesForResourceTypeResponse build()
Returns
Type Description
FetchDataSourceReferencesForResourceTypeResponse

buildPartial()

public FetchDataSourceReferencesForResourceTypeResponse buildPartial()
Returns
Type Description
FetchDataSourceReferencesForResourceTypeResponse

clear()

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

clearDataSourceReferences()

public FetchDataSourceReferencesForResourceTypeResponse.Builder clearDataSourceReferences()

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Returns
Type Description
FetchDataSourceReferencesForResourceTypeResponse.Builder

clearNextPageToken()

public FetchDataSourceReferencesForResourceTypeResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
FetchDataSourceReferencesForResourceTypeResponse.Builder

This builder for chaining.

getDataSourceReferences(int index)

public DataSourceReference getDataSourceReferences(int index)

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Parameter
Name Description
index int
Returns
Type Description
DataSourceReference

getDataSourceReferencesBuilder(int index)

public DataSourceReference.Builder getDataSourceReferencesBuilder(int index)

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Parameter
Name Description
index int
Returns
Type Description
DataSourceReference.Builder

getDataSourceReferencesBuilderList()

public List<DataSourceReference.Builder> getDataSourceReferencesBuilderList()

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Returns
Type Description
List<Builder>

getDataSourceReferencesCount()

public int getDataSourceReferencesCount()

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Returns
Type Description
int

getDataSourceReferencesList()

public List<DataSourceReference> getDataSourceReferencesList()

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Returns
Type Description
List<DataSourceReference>

getDataSourceReferencesOrBuilder(int index)

public DataSourceReferenceOrBuilder getDataSourceReferencesOrBuilder(int index)

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Parameter
Name Description
index int
Returns
Type Description
DataSourceReferenceOrBuilder

getDataSourceReferencesOrBuilderList()

public List<? extends DataSourceReferenceOrBuilder> getDataSourceReferencesOrBuilderList()

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder>

getDefaultInstanceForType()

public FetchDataSourceReferencesForResourceTypeResponse getDefaultInstanceForType()
Returns
Type Description
FetchDataSourceReferencesForResourceTypeResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchDataSourceReferencesForResourceTypeResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeDataSourceReferences(int index)

public FetchDataSourceReferencesForResourceTypeResponse.Builder removeDataSourceReferences(int index)

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchDataSourceReferencesForResourceTypeResponse.Builder

setDataSourceReferences(int index, DataSourceReference value)

public FetchDataSourceReferencesForResourceTypeResponse.Builder setDataSourceReferences(int index, DataSourceReference value)

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Parameters
Name Description
index int
value DataSourceReference
Returns
Type Description
FetchDataSourceReferencesForResourceTypeResponse.Builder

setDataSourceReferences(int index, DataSourceReference.Builder builderForValue)

public FetchDataSourceReferencesForResourceTypeResponse.Builder setDataSourceReferences(int index, DataSourceReference.Builder builderForValue)

The DataSourceReferences from the specified parent.

repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;

Parameters
Name Description
index int
builderForValue DataSourceReference.Builder
Returns
Type Description
FetchDataSourceReferencesForResourceTypeResponse.Builder

setNextPageToken(String value)

public FetchDataSourceReferencesForResourceTypeResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
FetchDataSourceReferencesForResourceTypeResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public FetchDataSourceReferencesForResourceTypeResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
FetchDataSourceReferencesForResourceTypeResponse.Builder

This builder for chaining.