public static final class ListDataSourceReferencesResponse.Builder extends GeneratedMessageV3.Builder<ListDataSourceReferencesResponse.Builder> implements ListDataSourceReferencesResponseOrBuilderResponse for the ListDataSourceReferences method.
Protobuf type google.cloud.backupdr.v1.ListDataSourceReferencesResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListDataSourceReferencesResponse.BuilderImplements
ListDataSourceReferencesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDataSourceReferences(Iterable<? extends DataSourceReference> values)
public ListDataSourceReferencesResponse.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 |
ListDataSourceReferencesResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
public ListDataSourceReferencesResponse.Builder addAllUnreachable(Iterable<String> values)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
This builder for chaining. |
addDataSourceReferences(DataSourceReference value)
public ListDataSourceReferencesResponse.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 |
ListDataSourceReferencesResponse.Builder |
|
addDataSourceReferences(DataSourceReference.Builder builderForValue)
public ListDataSourceReferencesResponse.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 |
ListDataSourceReferencesResponse.Builder |
|
addDataSourceReferences(int index, DataSourceReference value)
public ListDataSourceReferencesResponse.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 |
ListDataSourceReferencesResponse.Builder |
|
addDataSourceReferences(int index, DataSourceReference.Builder builderForValue)
public ListDataSourceReferencesResponse.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 |
ListDataSourceReferencesResponse.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 |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDataSourceReferencesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
|
addUnreachable(String value)
public ListDataSourceReferencesResponse.Builder addUnreachable(String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListDataSourceReferencesResponse.Builder addUnreachableBytes(ByteString value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
This builder for chaining. |
build()
public ListDataSourceReferencesResponse build()| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse |
|
buildPartial()
public ListDataSourceReferencesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse |
|
clear()
public ListDataSourceReferencesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
|
clearDataSourceReferences()
public ListDataSourceReferencesResponse.Builder clearDataSourceReferences()The DataSourceReferences from the specified parent.
repeated .google.cloud.backupdr.v1.DataSourceReference data_source_references = 1;
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public ListDataSourceReferencesResponse.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
|
clearNextPageToken()
public ListDataSourceReferencesResponse.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 |
ListDataSourceReferencesResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDataSourceReferencesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
|
clearUnreachable()
public ListDataSourceReferencesResponse.Builder clearUnreachable()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
This builder for chaining. |
clone()
public ListDataSourceReferencesResponse.Builder clone()| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
|
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 ListDataSourceReferencesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getUnreachable(int index)
public String getUnreachable(int index)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListDataSourceReferencesResponse other)
public ListDataSourceReferencesResponse.Builder mergeFrom(ListDataSourceReferencesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListDataSourceReferencesResponse |
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListDataSourceReferencesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListDataSourceReferencesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDataSourceReferencesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
|
removeDataSourceReferences(int index)
public ListDataSourceReferencesResponse.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 |
ListDataSourceReferencesResponse.Builder |
|
setDataSourceReferences(int index, DataSourceReference value)
public ListDataSourceReferencesResponse.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 |
ListDataSourceReferencesResponse.Builder |
|
setDataSourceReferences(int index, DataSourceReference.Builder builderForValue)
public ListDataSourceReferencesResponse.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 |
ListDataSourceReferencesResponse.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListDataSourceReferencesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
|
setNextPageToken(String value)
public ListDataSourceReferencesResponse.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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListDataSourceReferencesResponse.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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDataSourceReferencesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDataSourceReferencesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
|
setUnreachable(int index, String value)
public ListDataSourceReferencesResponse.Builder setUnreachable(int index, String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListDataSourceReferencesResponse.Builder |
This builder for chaining. |