public static final class ListSnapshotSchedulePoliciesResponse.Builder extends GeneratedMessageV3.Builder<ListSnapshotSchedulePoliciesResponse.Builder> implements ListSnapshotSchedulePoliciesResponseOrBuilder
Response message containing the list of snapshot schedule policies.
Protobuf type google.cloud.baremetalsolution.v2.ListSnapshotSchedulePoliciesResponse
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ListSnapshotSchedulePoliciesResponse.Builder addAllSnapshotSchedulePolicies(Iterable<? extends SnapshotSchedulePolicy> values)
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy>
|
Returns
public ListSnapshotSchedulePoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListSnapshotSchedulePoliciesResponse.Builder addSnapshotSchedulePolicies(SnapshotSchedulePolicy value)
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Parameter
Returns
public ListSnapshotSchedulePoliciesResponse.Builder addSnapshotSchedulePolicies(SnapshotSchedulePolicy.Builder builderForValue)
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Parameter
Returns
public ListSnapshotSchedulePoliciesResponse.Builder addSnapshotSchedulePolicies(int index, SnapshotSchedulePolicy value)
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Parameters
Returns
public ListSnapshotSchedulePoliciesResponse.Builder addSnapshotSchedulePolicies(int index, SnapshotSchedulePolicy.Builder builderForValue)
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Parameters
Returns
public SnapshotSchedulePolicy.Builder addSnapshotSchedulePoliciesBuilder()
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Returns
public SnapshotSchedulePolicy.Builder addSnapshotSchedulePoliciesBuilder(int index)
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Parameter
Returns
public ListSnapshotSchedulePoliciesResponse build()
Returns
public ListSnapshotSchedulePoliciesResponse buildPartial()
Returns
public ListSnapshotSchedulePoliciesResponse.Builder clear()
Returns
Overrides
public ListSnapshotSchedulePoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListSnapshotSchedulePoliciesResponse.Builder clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no more
results in the list.
string next_page_token = 2;
Returns
public ListSnapshotSchedulePoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListSnapshotSchedulePoliciesResponse.Builder clearSnapshotSchedulePolicies()
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Returns
public ListSnapshotSchedulePoliciesResponse.Builder clone()
Returns
Overrides
public ListSnapshotSchedulePoliciesResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
Token to retrieve the next page of results, or empty if there are no more
results in the list.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no more
results in the list.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
public SnapshotSchedulePolicy getSnapshotSchedulePolicies(int index)
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Parameter
Returns
public SnapshotSchedulePolicy.Builder getSnapshotSchedulePoliciesBuilder(int index)
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Parameter
Returns
public List<SnapshotSchedulePolicy.Builder> getSnapshotSchedulePoliciesBuilderList()
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Returns
public int getSnapshotSchedulePoliciesCount()
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Returns
public List<SnapshotSchedulePolicy> getSnapshotSchedulePoliciesList()
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Returns
public SnapshotSchedulePolicyOrBuilder getSnapshotSchedulePoliciesOrBuilder(int index)
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Parameter
Returns
public List<? extends SnapshotSchedulePolicyOrBuilder> getSnapshotSchedulePoliciesOrBuilderList()
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Returns
Type | Description |
List<? extends com.google.cloud.baremetalsolution.v2.SnapshotSchedulePolicyOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListSnapshotSchedulePoliciesResponse.Builder mergeFrom(ListSnapshotSchedulePoliciesResponse other)
Parameter
Returns
public ListSnapshotSchedulePoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListSnapshotSchedulePoliciesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListSnapshotSchedulePoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListSnapshotSchedulePoliciesResponse.Builder removeSnapshotSchedulePolicies(int index)
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Parameter
Returns
public ListSnapshotSchedulePoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListSnapshotSchedulePoliciesResponse.Builder setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no more
results in the list.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListSnapshotSchedulePoliciesResponse.Builder setNextPageTokenBytes(ByteString value)
Token to retrieve the next page of results, or empty if there are no more
results in the list.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
public ListSnapshotSchedulePoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public ListSnapshotSchedulePoliciesResponse.Builder setSnapshotSchedulePolicies(int index, SnapshotSchedulePolicy value)
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Parameters
Returns
public ListSnapshotSchedulePoliciesResponse.Builder setSnapshotSchedulePolicies(int index, SnapshotSchedulePolicy.Builder builderForValue)
The snapshot schedule policies registered in this project.
repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;
Parameters
Returns
public final ListSnapshotSchedulePoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides