Class ListOSPolicyAssignmentRevisionsResponse.Builder (2.15.0)

public static final class ListOSPolicyAssignmentRevisionsResponse.Builder extends GeneratedMessageV3.Builder<ListOSPolicyAssignmentRevisionsResponse.Builder> implements ListOSPolicyAssignmentRevisionsResponseOrBuilder

A response message for listing all revisions for a OS policy assignment.

Protobuf type google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse

Static Methods

getDescriptor()

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

Methods

addAllOsPolicyAssignments(Iterable<? extends OSPolicyAssignment> values)

public ListOSPolicyAssignmentRevisionsResponse.Builder addAllOsPolicyAssignments(Iterable<? extends OSPolicyAssignment> values)

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignment>
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder

addOsPolicyAssignments(OSPolicyAssignment value)

public ListOSPolicyAssignmentRevisionsResponse.Builder addOsPolicyAssignments(OSPolicyAssignment value)

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Parameter
NameDescription
valueOSPolicyAssignment
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder

addOsPolicyAssignments(OSPolicyAssignment.Builder builderForValue)

public ListOSPolicyAssignmentRevisionsResponse.Builder addOsPolicyAssignments(OSPolicyAssignment.Builder builderForValue)

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Parameter
NameDescription
builderForValueOSPolicyAssignment.Builder
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder

addOsPolicyAssignments(int index, OSPolicyAssignment value)

public ListOSPolicyAssignmentRevisionsResponse.Builder addOsPolicyAssignments(int index, OSPolicyAssignment value)

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Parameters
NameDescription
indexint
valueOSPolicyAssignment
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder

addOsPolicyAssignments(int index, OSPolicyAssignment.Builder builderForValue)

public ListOSPolicyAssignmentRevisionsResponse.Builder addOsPolicyAssignments(int index, OSPolicyAssignment.Builder builderForValue)

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Parameters
NameDescription
indexint
builderForValueOSPolicyAssignment.Builder
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder

addOsPolicyAssignmentsBuilder()

public OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder()

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Returns
TypeDescription
OSPolicyAssignment.Builder

addOsPolicyAssignmentsBuilder(int index)

public OSPolicyAssignment.Builder addOsPolicyAssignmentsBuilder(int index)

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OSPolicyAssignment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListOSPolicyAssignmentRevisionsResponse build()
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse

buildPartial()

public ListOSPolicyAssignmentRevisionsResponse buildPartial()
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListOSPolicyAssignmentRevisionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder
Overrides

clearNextPageToken()

public ListOSPolicyAssignmentRevisionsResponse.Builder clearNextPageToken()

The pagination token to retrieve the next page of OS policy assignment revisions.

string next_page_token = 2;

Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOsPolicyAssignments()

public ListOSPolicyAssignmentRevisionsResponse.Builder clearOsPolicyAssignments()

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListOSPolicyAssignmentRevisionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

The pagination token to retrieve the next page of OS policy assignment revisions.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The pagination token to retrieve the next page of OS policy assignment revisions.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getOsPolicyAssignments(int index)

public OSPolicyAssignment getOsPolicyAssignments(int index)

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OSPolicyAssignment

getOsPolicyAssignmentsBuilder(int index)

public OSPolicyAssignment.Builder getOsPolicyAssignmentsBuilder(int index)

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OSPolicyAssignment.Builder

getOsPolicyAssignmentsBuilderList()

public List<OSPolicyAssignment.Builder> getOsPolicyAssignmentsBuilderList()

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Returns
TypeDescription
List<Builder>

getOsPolicyAssignmentsCount()

public int getOsPolicyAssignmentsCount()

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Returns
TypeDescription
int

getOsPolicyAssignmentsList()

public List<OSPolicyAssignment> getOsPolicyAssignmentsList()

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Returns
TypeDescription
List<OSPolicyAssignment>

getOsPolicyAssignmentsOrBuilder(int index)

public OSPolicyAssignmentOrBuilder getOsPolicyAssignmentsOrBuilder(int index)

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OSPolicyAssignmentOrBuilder

getOsPolicyAssignmentsOrBuilderList()

public List<? extends OSPolicyAssignmentOrBuilder> getOsPolicyAssignmentsOrBuilderList()

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Returns
TypeDescription
List<? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListOSPolicyAssignmentRevisionsResponse other)

public ListOSPolicyAssignmentRevisionsResponse.Builder mergeFrom(ListOSPolicyAssignmentRevisionsResponse other)
Parameter
NameDescription
otherListOSPolicyAssignmentRevisionsResponse
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeOsPolicyAssignments(int index)

public ListOSPolicyAssignmentRevisionsResponse.Builder removeOsPolicyAssignments(int index)

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListOSPolicyAssignmentRevisionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder
Overrides

setNextPageToken(String value)

public ListOSPolicyAssignmentRevisionsResponse.Builder setNextPageToken(String value)

The pagination token to retrieve the next page of OS policy assignment revisions.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListOSPolicyAssignmentRevisionsResponse.Builder setNextPageTokenBytes(ByteString value)

The pagination token to retrieve the next page of OS policy assignment revisions.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder

This builder for chaining.

setOsPolicyAssignments(int index, OSPolicyAssignment value)

public ListOSPolicyAssignmentRevisionsResponse.Builder setOsPolicyAssignments(int index, OSPolicyAssignment value)

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Parameters
NameDescription
indexint
valueOSPolicyAssignment
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder

setOsPolicyAssignments(int index, OSPolicyAssignment.Builder builderForValue)

public ListOSPolicyAssignmentRevisionsResponse.Builder setOsPolicyAssignments(int index, OSPolicyAssignment.Builder builderForValue)

The OS policy assignment revisions

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignment os_policy_assignments = 1;

Parameters
NameDescription
indexint
builderForValueOSPolicyAssignment.Builder
Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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