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
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder

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
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder

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
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder

addSnapshotSchedulePoliciesBuilder()

public SnapshotSchedulePolicy.Builder addSnapshotSchedulePoliciesBuilder()

The snapshot schedule policies registered in this project.

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

Returns
TypeDescription
SnapshotSchedulePolicy.Builder

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
TypeDescription
SnapshotSchedulePolicy.Builder

build()

public ListSnapshotSchedulePoliciesResponse build()
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse

buildPartial()

public ListSnapshotSchedulePoliciesResponse buildPartial()
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse

clear()

public ListSnapshotSchedulePoliciesResponse.Builder clear()
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clone()

public ListSnapshotSchedulePoliciesResponse.Builder clone()
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListSnapshotSchedulePoliciesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse

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
TypeDescription
SnapshotSchedulePolicy.Builder

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
TypeDescription
List<SnapshotSchedulePolicy>

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
TypeDescription
SnapshotSchedulePolicyOrBuilder

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
NameDescription
otherListSnapshotSchedulePoliciesResponse
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSnapshotSchedulePoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder
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
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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
TypeDescription
ListSnapshotSchedulePoliciesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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