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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
addInstanceOsPoliciesCompliancesBuilder()
public InstanceOSPoliciesCompliance.Builder addInstanceOsPoliciesCompliancesBuilder()
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
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 |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListInstanceOSPoliciesCompliancesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListInstanceOSPoliciesCompliancesResponse build()
buildPartial()
public ListInstanceOSPoliciesCompliancesResponse buildPartial()
clear()
public ListInstanceOSPoliciesCompliancesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListInstanceOSPoliciesCompliancesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInstanceOsPoliciesCompliances()
public ListInstanceOSPoliciesCompliancesResponse.Builder clearInstanceOsPoliciesCompliances()
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
clearNextPageToken()
public ListInstanceOSPoliciesCompliancesResponse.Builder clearNextPageToken()
The pagination token to retrieve the next page of instance OS policies
compliance objects.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListInstanceOSPoliciesCompliancesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListInstanceOSPoliciesCompliancesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListInstanceOSPoliciesCompliancesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
getInstanceOsPoliciesCompliancesBuilderList()
public List<InstanceOSPoliciesCompliance.Builder> getInstanceOsPoliciesCompliancesBuilderList()
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
getInstanceOsPoliciesCompliancesCount()
public int getInstanceOsPoliciesCompliancesCount()
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
Returns |
Type |
Description |
int |
|
getInstanceOsPoliciesCompliancesList()
public List<InstanceOSPoliciesCompliance> getInstanceOsPoliciesCompliancesList()
List of instance OS policies compliance objects.
repeated .google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance instance_os_policies_compliances = 1;
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 |
Name |
Description |
index |
int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListInstanceOSPoliciesCompliancesResponse other)
public ListInstanceOSPoliciesCompliancesResponse.Builder mergeFrom(ListInstanceOSPoliciesCompliancesResponse other)
public ListInstanceOSPoliciesCompliancesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListInstanceOSPoliciesCompliancesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListInstanceOSPoliciesCompliancesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListInstanceOSPoliciesCompliancesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListInstanceOSPoliciesCompliancesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListInstanceOSPoliciesCompliancesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides