public static final class GetInstanceOSPoliciesComplianceRequest.Builder extends GeneratedMessageV3.Builder<GetInstanceOSPoliciesComplianceRequest.Builder> implements GetInstanceOSPoliciesComplianceRequestOrBuilder
A request message for getting OS policies compliance data for the given
Compute Engine VM instance.
Protobuf type google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetInstanceOSPoliciesComplianceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetInstanceOSPoliciesComplianceRequest build()
Returns
buildPartial()
public GetInstanceOSPoliciesComplianceRequest buildPartial()
Returns
clear()
public GetInstanceOSPoliciesComplianceRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetInstanceOSPoliciesComplianceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public GetInstanceOSPoliciesComplianceRequest.Builder clearName()
Required. API resource name for instance OS policies compliance resource.
Format:
projects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}
For {project}
, either Compute Engine project-number or project-id can be
provided.
For {instance}
, either Compute Engine VM instance-id or instance-name can
be provided.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GetInstanceOSPoliciesComplianceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public GetInstanceOSPoliciesComplianceRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetInstanceOSPoliciesComplianceRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Required. API resource name for instance OS policies compliance resource.
Format:
projects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}
For {project}
, either Compute Engine project-number or project-id can be
provided.
For {instance}
, either Compute Engine VM instance-id or instance-name can
be provided.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. API resource name for instance OS policies compliance resource.
Format:
projects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}
For {project}
, either Compute Engine project-number or project-id can be
provided.
For {instance}
, either Compute Engine VM instance-id or instance-name can
be provided.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetInstanceOSPoliciesComplianceRequest other)
public GetInstanceOSPoliciesComplianceRequest.Builder mergeFrom(GetInstanceOSPoliciesComplianceRequest other)
Parameter
Returns
public GetInstanceOSPoliciesComplianceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetInstanceOSPoliciesComplianceRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetInstanceOSPoliciesComplianceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetInstanceOSPoliciesComplianceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public GetInstanceOSPoliciesComplianceRequest.Builder setName(String value)
Required. API resource name for instance OS policies compliance resource.
Format:
projects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}
For {project}
, either Compute Engine project-number or project-id can be
provided.
For {instance}
, either Compute Engine VM instance-id or instance-name can
be provided.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public GetInstanceOSPoliciesComplianceRequest.Builder setNameBytes(ByteString value)
Required. API resource name for instance OS policies compliance resource.
Format:
projects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}
For {project}
, either Compute Engine project-number or project-id can be
provided.
For {instance}
, either Compute Engine VM instance-id or instance-name can
be provided.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetInstanceOSPoliciesComplianceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetInstanceOSPoliciesComplianceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides