Class ListSnapshotSchedulePoliciesResponse.Builder (0.2.1)

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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllSnapshotSchedulePolicies(Iterable<? extends SnapshotSchedulePolicy> values)

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
NameDescription
valuesIterable<? extends com.google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy>
Returns

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSnapshotSchedulePoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

addSnapshotSchedulePolicies(SnapshotSchedulePolicy value)

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
NameDescription
valueSnapshotSchedulePolicy
Returns

addSnapshotSchedulePolicies(SnapshotSchedulePolicy.Builder builderForValue)

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
NameDescription
builderForValueSnapshotSchedulePolicy.Builder
Returns

addSnapshotSchedulePolicies(int index, SnapshotSchedulePolicy value)

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
NameDescription
indexint
valueSnapshotSchedulePolicy
Returns

addSnapshotSchedulePolicies(int index, SnapshotSchedulePolicy.Builder builderForValue)

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
NameDescription
indexint
builderForValueSnapshotSchedulePolicy.Builder
Returns

addSnapshotSchedulePoliciesBuilder()

public SnapshotSchedulePolicy.Builder addSnapshotSchedulePoliciesBuilder()

The snapshot schedule policies registered in this project.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;

Returns

addSnapshotSchedulePoliciesBuilder(int index)

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
NameDescription
indexint
Returns

build()

public ListSnapshotSchedulePoliciesResponse build()
Returns

buildPartial()

public ListSnapshotSchedulePoliciesResponse buildPartial()
Returns

clear()

public ListSnapshotSchedulePoliciesResponse.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

public ListSnapshotSchedulePoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
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
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSnapshotSchedulePoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns Overrides

clearSnapshotSchedulePolicies()

public ListSnapshotSchedulePoliciesResponse.Builder clearSnapshotSchedulePolicies()

The snapshot schedule policies registered in this project.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;

Returns

clone()

public ListSnapshotSchedulePoliciesResponse.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public ListSnapshotSchedulePoliciesResponse getDefaultInstanceForType()
Returns

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getSnapshotSchedulePolicies(int index)

public SnapshotSchedulePolicy getSnapshotSchedulePolicies(int index)

The snapshot schedule policies registered in this project.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SnapshotSchedulePolicy

getSnapshotSchedulePoliciesBuilder(int index)

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
NameDescription
indexint
Returns

getSnapshotSchedulePoliciesBuilderList()

public List<SnapshotSchedulePolicy.Builder> getSnapshotSchedulePoliciesBuilderList()

The snapshot schedule policies registered in this project.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;

Returns
TypeDescription
List<Builder>

getSnapshotSchedulePoliciesCount()

public int getSnapshotSchedulePoliciesCount()

The snapshot schedule policies registered in this project.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;

Returns
TypeDescription
int

getSnapshotSchedulePoliciesList()

public List<SnapshotSchedulePolicy> getSnapshotSchedulePoliciesList()

The snapshot schedule policies registered in this project.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;

Returns

getSnapshotSchedulePoliciesOrBuilder(int index)

public SnapshotSchedulePolicyOrBuilder getSnapshotSchedulePoliciesOrBuilder(int index)

The snapshot schedule policies registered in this project.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;

Parameter
NameDescription
indexint
Returns

getSnapshotSchedulePoliciesOrBuilderList()

public List<? extends SnapshotSchedulePolicyOrBuilder> getSnapshotSchedulePoliciesOrBuilderList()

The snapshot schedule policies registered in this project.

repeated .google.cloud.baremetalsolution.v2.SnapshotSchedulePolicy snapshot_schedule_policies = 1;

Returns
TypeDescription
List<? extends com.google.cloud.baremetalsolution.v2.SnapshotSchedulePolicyOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSnapshotSchedulePoliciesResponse other)

public ListSnapshotSchedulePoliciesResponse.Builder mergeFrom(ListSnapshotSchedulePoliciesResponse other)
Parameter Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSnapshotSchedulePoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListSnapshotSchedulePoliciesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSnapshotSchedulePoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides

removeSnapshotSchedulePolicies(int index)

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
NameDescription
indexint
Returns

setField(Descriptors.FieldDescriptor field, Object value)

public ListSnapshotSchedulePoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListSnapshotSchedulePoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns Overrides

setSnapshotSchedulePolicies(int index, SnapshotSchedulePolicy value)

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
NameDescription
indexint
valueSnapshotSchedulePolicy
Returns

setSnapshotSchedulePolicies(int index, SnapshotSchedulePolicy.Builder builderForValue)

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
NameDescription
indexint
builderForValueSnapshotSchedulePolicy.Builder
Returns

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSnapshotSchedulePoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides