Class PatchJobs.ListPatchJobInstanceDetailsRequest.Builder (2.18.0)

public static final class PatchJobs.ListPatchJobInstanceDetailsRequest.Builder extends GeneratedMessageV3.Builder<PatchJobs.ListPatchJobInstanceDetailsRequest.Builder> implements PatchJobs.ListPatchJobInstanceDetailsRequestOrBuilder

Request to list details for all instances that are part of a patch job.

Protobuf type google.cloud.osconfig.v1.ListPatchJobInstanceDetailsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PatchJobs.ListPatchJobInstanceDetailsRequest build()
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest

buildPartial()

public PatchJobs.ListPatchJobInstanceDetailsRequest buildPartial()
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest

clear()

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder clear()
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder clearFilter()

A filter expression that filters results listed in the response. This field supports filtering results by instance zone, name, state, or failure_reason.

string filter = 4;

Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder clearPageSize()

The maximum number of instance details records to return. Default is 100.

int32 page_size = 2;

Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder

This builder for chaining.

clearPageToken()

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder clearPageToken()

A pagination token returned from a previous call that indicates where this listing should continue from.

string page_token = 3;

Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder

This builder for chaining.

clearParent()

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder clearParent()

Required. The parent for the instances are in the form of projects/*/patchJobs/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder

This builder for chaining.

clone()

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder clone()
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder
Overrides

getDefaultInstanceForType()

public PatchJobs.ListPatchJobInstanceDetailsRequest getDefaultInstanceForType()
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

A filter expression that filters results listed in the response. This field supports filtering results by instance zone, name, state, or failure_reason.

string filter = 4;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

A filter expression that filters results listed in the response. This field supports filtering results by instance zone, name, state, or failure_reason.

string filter = 4;

Returns
TypeDescription
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

The maximum number of instance details records to return. Default is 100.

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

A pagination token returned from a previous call that indicates where this listing should continue from.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A pagination token returned from a previous call that indicates where this listing should continue from.

string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent for the instances are in the form of projects/*/patchJobs/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent for the instances are in the form of projects/*/patchJobs/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PatchJobs.ListPatchJobInstanceDetailsRequest other)

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder mergeFrom(PatchJobs.ListPatchJobInstanceDetailsRequest other)
Parameter
NameDescription
otherPatchJobs.ListPatchJobInstanceDetailsRequest
Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder setFilter(String value)

A filter expression that filters results listed in the response. This field supports filtering results by instance zone, name, state, or failure_reason.

string filter = 4;

Parameter
NameDescription
valueString

The filter to set.

Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder setFilterBytes(ByteString value)

A filter expression that filters results listed in the response. This field supports filtering results by instance zone, name, state, or failure_reason.

string filter = 4;

Parameter
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder

This builder for chaining.

setPageSize(int value)

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder setPageSize(int value)

The maximum number of instance details records to return. Default is 100.

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder

This builder for chaining.

setPageToken(String value)

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder setPageToken(String value)

A pagination token returned from a previous call that indicates where this listing should continue from.

string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder setPageTokenBytes(ByteString value)

A pagination token returned from a previous call that indicates where this listing should continue from.

string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder

This builder for chaining.

setParent(String value)

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder setParent(String value)

Required. The parent for the instances are in the form of projects/*/patchJobs/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder setParentBytes(ByteString value)

Required. The parent for the instances are in the form of projects/*/patchJobs/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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