Class PatchJobs.ListPatchJobInstanceDetailsRequest.Builder (2.51.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.v1beta.ListPatchJobInstanceDetailsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder
Overrides

build()

public PatchJobs.ListPatchJobInstanceDetailsRequest build()
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsRequest

buildPartial()

public PatchJobs.ListPatchJobInstanceDetailsRequest buildPartial()
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsRequest

clear()

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder clear()
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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];

Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder

This builder for chaining.

clone()

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder clone()
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder
Overrides

getDefaultInstanceForType()

public PatchJobs.ListPatchJobInstanceDetailsRequest getDefaultInstanceForType()
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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];

Returns
Type Description
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];

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PatchJobs.ListPatchJobInstanceDetailsRequest other)

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder mergeFrom(PatchJobs.ListPatchJobInstanceDetailsRequest other)
Parameter
Name Description
other PatchJobs.ListPatchJobInstanceDetailsRequest
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PatchJobs.ListPatchJobInstanceDetailsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PatchJobs.ListPatchJobInstanceDetailsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The filter to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
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
Name Description
value int

The pageSize to set.

Returns
Type Description
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
Name Description
value String

The pageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
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];

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
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];

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PatchJobs.ListPatchJobInstanceDetailsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PatchJobs.ListPatchJobInstanceDetailsRequest.Builder
Overrides