public static final class ListInstanceOSPoliciesCompliancesResponse.Builder extends GeneratedMessageV3.Builder<ListInstanceOSPoliciesCompliancesResponse.Builder> implements ListInstanceOSPoliciesCompliancesResponseOrBuilder
A response message for listing OS policies compliance data for all Compute
Engine VMs in the given location.
Protobuf type google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllInstanceOsPoliciesCompliances(Iterable<? extends InstanceOSPoliciesCompliance> values)
public ListInstanceOSPoliciesCompliancesResponse.Builder addAllInstanceOsPoliciesCompliances(Iterable<? extends InstanceOSPoliciesCompliance> values)
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance>
|
Returns
addInstanceOsPoliciesCompliances(InstanceOSPoliciesCompliance value)
public ListInstanceOSPoliciesCompliancesResponse.Builder addInstanceOsPoliciesCompliances(InstanceOSPoliciesCompliance value)
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Parameter
Returns
addInstanceOsPoliciesCompliances(InstanceOSPoliciesCompliance.Builder builderForValue)
public ListInstanceOSPoliciesCompliancesResponse.Builder addInstanceOsPoliciesCompliances(InstanceOSPoliciesCompliance.Builder builderForValue)
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Parameter
Returns
addInstanceOsPoliciesCompliances(int index, InstanceOSPoliciesCompliance value)
public ListInstanceOSPoliciesCompliancesResponse.Builder addInstanceOsPoliciesCompliances(int index, InstanceOSPoliciesCompliance value)
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Parameters
Returns
addInstanceOsPoliciesCompliances(int index, InstanceOSPoliciesCompliance.Builder builderForValue)
public ListInstanceOSPoliciesCompliancesResponse.Builder addInstanceOsPoliciesCompliances(int index, InstanceOSPoliciesCompliance.Builder builderForValue)
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Parameters
Returns
addInstanceOsPoliciesCompliancesBuilder()
public InstanceOSPoliciesCompliance.Builder addInstanceOsPoliciesCompliancesBuilder()
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Returns
addInstanceOsPoliciesCompliancesBuilder(int index)
public InstanceOSPoliciesCompliance.Builder addInstanceOsPoliciesCompliancesBuilder(int index)
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListInstanceOSPoliciesCompliancesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListInstanceOSPoliciesCompliancesResponse build()
Returns
buildPartial()
public ListInstanceOSPoliciesCompliancesResponse buildPartial()
Returns
clear()
public ListInstanceOSPoliciesCompliancesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListInstanceOSPoliciesCompliancesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInstanceOsPoliciesCompliances()
public ListInstanceOSPoliciesCompliancesResponse.Builder clearInstanceOsPoliciesCompliances()
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Returns
clearNextPageToken()
public ListInstanceOSPoliciesCompliancesResponse.Builder clearNextPageToken()
The pagination token to retrieve the next page of instance OS policies
compliance objects.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListInstanceOSPoliciesCompliancesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListInstanceOSPoliciesCompliancesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListInstanceOSPoliciesCompliancesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInstanceOsPoliciesCompliances(int index)
public InstanceOSPoliciesCompliance getInstanceOsPoliciesCompliances(int index)
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Parameter
Returns
getInstanceOsPoliciesCompliancesBuilder(int index)
public InstanceOSPoliciesCompliance.Builder getInstanceOsPoliciesCompliancesBuilder(int index)
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Parameter
Returns
getInstanceOsPoliciesCompliancesBuilderList()
public List<InstanceOSPoliciesCompliance.Builder> getInstanceOsPoliciesCompliancesBuilderList()
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Returns
getInstanceOsPoliciesCompliancesCount()
public int getInstanceOsPoliciesCompliancesCount()
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Returns
getInstanceOsPoliciesCompliancesList()
public List<InstanceOSPoliciesCompliance> getInstanceOsPoliciesCompliancesList()
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Returns
getInstanceOsPoliciesCompliancesOrBuilder(int index)
public InstanceOSPoliciesComplianceOrBuilder getInstanceOsPoliciesCompliancesOrBuilder(int index)
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Parameter
Returns
getInstanceOsPoliciesCompliancesOrBuilderList()
public List<? extends InstanceOSPoliciesComplianceOrBuilder> getInstanceOsPoliciesCompliancesOrBuilderList()
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Returns
Type | Description |
List<? extends com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
The pagination token to retrieve the next page of instance OS policies
compliance objects.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The pagination token to retrieve the next page of instance OS policies
compliance objects.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListInstanceOSPoliciesCompliancesResponse other)
public ListInstanceOSPoliciesCompliancesResponse.Builder mergeFrom(ListInstanceOSPoliciesCompliancesResponse other)
Parameter
Returns
public ListInstanceOSPoliciesCompliancesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListInstanceOSPoliciesCompliancesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListInstanceOSPoliciesCompliancesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeInstanceOsPoliciesCompliances(int index)
public ListInstanceOSPoliciesCompliancesResponse.Builder removeInstanceOsPoliciesCompliances(int index)
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListInstanceOSPoliciesCompliancesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setInstanceOsPoliciesCompliances(int index, InstanceOSPoliciesCompliance value)
public ListInstanceOSPoliciesCompliancesResponse.Builder setInstanceOsPoliciesCompliances(int index, InstanceOSPoliciesCompliance value)
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Parameters
Returns
setInstanceOsPoliciesCompliances(int index, InstanceOSPoliciesCompliance.Builder builderForValue)
public ListInstanceOSPoliciesCompliancesResponse.Builder setInstanceOsPoliciesCompliances(int index, InstanceOSPoliciesCompliance.Builder builderForValue)
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Parameters
Returns
setNextPageToken(String value)
public ListInstanceOSPoliciesCompliancesResponse.Builder setNextPageToken(String value)
The pagination token to retrieve the next page of instance OS policies
compliance objects.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListInstanceOSPoliciesCompliancesResponse.Builder setNextPageTokenBytes(ByteString value)
The pagination token to retrieve the next page of instance OS policies
compliance objects.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListInstanceOSPoliciesCompliancesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListInstanceOSPoliciesCompliancesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides