public static final class ListAutoProtectionPoliciesResponse.Builder extends GeneratedMessage.Builder<ListAutoProtectionPoliciesResponse.Builder> implements ListAutoProtectionPoliciesResponseOrBuilderResponse message for ListAutoProtectionPolicies.
Protobuf type google.cloud.backupdr.v1beta.ListAutoProtectionPoliciesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListAutoProtectionPoliciesResponse.BuilderImplements
ListAutoProtectionPoliciesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAutoProtectionPolicies(Iterable<? extends AutoProtectionPolicy> values)
public ListAutoProtectionPoliciesResponse.Builder addAllAutoProtectionPolicies(Iterable<? extends AutoProtectionPolicy> values)A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.backupdr.v1beta.AutoProtectionPolicy> |
| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
public ListAutoProtectionPoliciesResponse.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 |
ListAutoProtectionPoliciesResponse.Builder |
This builder for chaining. |
addAutoProtectionPolicies(AutoProtectionPolicy value)
public ListAutoProtectionPoliciesResponse.Builder addAutoProtectionPolicies(AutoProtectionPolicy value)A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
AutoProtectionPolicy |
| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse.Builder |
|
addAutoProtectionPolicies(AutoProtectionPolicy.Builder builderForValue)
public ListAutoProtectionPoliciesResponse.Builder addAutoProtectionPolicies(AutoProtectionPolicy.Builder builderForValue)A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AutoProtectionPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse.Builder |
|
addAutoProtectionPolicies(int index, AutoProtectionPolicy value)
public ListAutoProtectionPoliciesResponse.Builder addAutoProtectionPolicies(int index, AutoProtectionPolicy value)A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AutoProtectionPolicy |
| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse.Builder |
|
addAutoProtectionPolicies(int index, AutoProtectionPolicy.Builder builderForValue)
public ListAutoProtectionPoliciesResponse.Builder addAutoProtectionPolicies(int index, AutoProtectionPolicy.Builder builderForValue)A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AutoProtectionPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse.Builder |
|
addAutoProtectionPoliciesBuilder()
public AutoProtectionPolicy.Builder addAutoProtectionPoliciesBuilder()A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Returns | |
|---|---|
| Type | Description |
AutoProtectionPolicy.Builder |
|
addAutoProtectionPoliciesBuilder(int index)
public AutoProtectionPolicy.Builder addAutoProtectionPoliciesBuilder(int index)A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AutoProtectionPolicy.Builder |
|
addUnreachable(String value)
public ListAutoProtectionPoliciesResponse.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 |
ListAutoProtectionPoliciesResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListAutoProtectionPoliciesResponse.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 |
ListAutoProtectionPoliciesResponse.Builder |
This builder for chaining. |
build()
public ListAutoProtectionPoliciesResponse build()| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse |
|
buildPartial()
public ListAutoProtectionPoliciesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse |
|
clear()
public ListAutoProtectionPoliciesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse.Builder |
|
clearAutoProtectionPolicies()
public ListAutoProtectionPoliciesResponse.Builder clearAutoProtectionPolicies()A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse.Builder |
|
clearNextPageToken()
public ListAutoProtectionPoliciesResponse.Builder clearNextPageToken() A token that 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 |
ListAutoProtectionPoliciesResponse.Builder |
This builder for chaining. |
clearUnreachable()
public ListAutoProtectionPoliciesResponse.Builder clearUnreachable()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse.Builder |
This builder for chaining. |
getAutoProtectionPolicies(int index)
public AutoProtectionPolicy getAutoProtectionPolicies(int index)A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AutoProtectionPolicy |
|
getAutoProtectionPoliciesBuilder(int index)
public AutoProtectionPolicy.Builder getAutoProtectionPoliciesBuilder(int index)A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AutoProtectionPolicy.Builder |
|
getAutoProtectionPoliciesBuilderList()
public List<AutoProtectionPolicy.Builder> getAutoProtectionPoliciesBuilderList()A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getAutoProtectionPoliciesCount()
public int getAutoProtectionPoliciesCount()A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getAutoProtectionPoliciesList()
public List<AutoProtectionPolicy> getAutoProtectionPoliciesList()A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Returns | |
|---|---|
| Type | Description |
List<AutoProtectionPolicy> |
|
getAutoProtectionPoliciesOrBuilder(int index)
public AutoProtectionPolicyOrBuilder getAutoProtectionPoliciesOrBuilder(int index)A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AutoProtectionPolicyOrBuilder |
|
getAutoProtectionPoliciesOrBuilderList()
public List<? extends AutoProtectionPolicyOrBuilder> getAutoProtectionPoliciesOrBuilderList()A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1beta.AutoProtectionPolicyOrBuilder> |
|
getDefaultInstanceForType()
public ListAutoProtectionPoliciesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token that 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 that 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListAutoProtectionPoliciesResponse other)
public ListAutoProtectionPoliciesResponse.Builder mergeFrom(ListAutoProtectionPoliciesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListAutoProtectionPoliciesResponse |
| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListAutoProtectionPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListAutoProtectionPoliciesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse.Builder |
|
removeAutoProtectionPolicies(int index)
public ListAutoProtectionPoliciesResponse.Builder removeAutoProtectionPolicies(int index)A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse.Builder |
|
setAutoProtectionPolicies(int index, AutoProtectionPolicy value)
public ListAutoProtectionPoliciesResponse.Builder setAutoProtectionPolicies(int index, AutoProtectionPolicy value)A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AutoProtectionPolicy |
| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse.Builder |
|
setAutoProtectionPolicies(int index, AutoProtectionPolicy.Builder builderForValue)
public ListAutoProtectionPoliciesResponse.Builder setAutoProtectionPolicies(int index, AutoProtectionPolicy.Builder builderForValue)A list of the AutoProtectionPolicy resources found.
repeated .google.cloud.backupdr.v1beta.AutoProtectionPolicy auto_protection_policies = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AutoProtectionPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAutoProtectionPoliciesResponse.Builder |
|
setNextPageToken(String value)
public ListAutoProtectionPoliciesResponse.Builder setNextPageToken(String value) A token that 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 |
ListAutoProtectionPoliciesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListAutoProtectionPoliciesResponse.Builder setNextPageTokenBytes(ByteString value) A token that 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 |
ListAutoProtectionPoliciesResponse.Builder |
This builder for chaining. |
setUnreachable(int index, String value)
public ListAutoProtectionPoliciesResponse.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 |
ListAutoProtectionPoliciesResponse.Builder |
This builder for chaining. |