Class ListOperationsRequest.Builder (2.49.0)

public static final class ListOperationsRequest.Builder extends GeneratedMessageV3.Builder<ListOperationsRequest.Builder> implements ListOperationsRequestOrBuilder

ListOperationsRequest lists operations.

Protobuf type google.container.v1.ListOperationsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListOperationsRequest build()
Returns
Type Description
ListOperationsRequest

buildPartial()

public ListOperationsRequest buildPartial()
Returns
Type Description
ListOperationsRequest

clear()

public ListOperationsRequest.Builder clear()
Returns
Type Description
ListOperationsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListOperationsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListOperationsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListOperationsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListOperationsRequest.Builder
Overrides

clearParent()

public ListOperationsRequest.Builder clearParent()

The parent (project and location) where the operations will be listed. Specified in the format projects/*/locations/*. Location "-" matches all zones and all regions.

string parent = 4;

Returns
Type Description
ListOperationsRequest.Builder

This builder for chaining.

clearProjectId() (deprecated)

public ListOperationsRequest.Builder clearProjectId()

Deprecated. google.container.v1.ListOperationsRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3217

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

string project_id = 1 [deprecated = true];

Returns
Type Description
ListOperationsRequest.Builder

This builder for chaining.

clearZone() (deprecated)

public ListOperationsRequest.Builder clearZone()

Deprecated. google.container.v1.ListOperationsRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3223

Deprecated. The name of the Google Compute Engine zone to return operations for, or - for all zones. This field has been deprecated and replaced by the parent field.

string zone = 2 [deprecated = true];

Returns
Type Description
ListOperationsRequest.Builder

This builder for chaining.

clone()

public ListOperationsRequest.Builder clone()
Returns
Type Description
ListOperationsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListOperationsRequest getDefaultInstanceForType()
Returns
Type Description
ListOperationsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

The parent (project and location) where the operations will be listed. Specified in the format projects/*/locations/*. Location "-" matches all zones and all regions.

string parent = 4;

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

The parent (project and location) where the operations will be listed. Specified in the format projects/*/locations/*. Location "-" matches all zones and all regions.

string parent = 4;

Returns
Type Description
ByteString

The bytes for parent.

getProjectId() (deprecated)

public String getProjectId()

Deprecated. google.container.v1.ListOperationsRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3217

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

string project_id = 1 [deprecated = true];

Returns
Type Description
String

The projectId.

getProjectIdBytes() (deprecated)

public ByteString getProjectIdBytes()

Deprecated. google.container.v1.ListOperationsRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3217

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

string project_id = 1 [deprecated = true];

Returns
Type Description
ByteString

The bytes for projectId.

getZone() (deprecated)

public String getZone()

Deprecated. google.container.v1.ListOperationsRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3223

Deprecated. The name of the Google Compute Engine zone to return operations for, or - for all zones. This field has been deprecated and replaced by the parent field.

string zone = 2 [deprecated = true];

Returns
Type Description
String

The zone.

getZoneBytes() (deprecated)

public ByteString getZoneBytes()

Deprecated. google.container.v1.ListOperationsRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3223

Deprecated. The name of the Google Compute Engine zone to return operations for, or - for all zones. This field has been deprecated and replaced by the parent field.

string zone = 2 [deprecated = true];

Returns
Type Description
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListOperationsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListOperationsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListOperationsRequest.Builder
Overrides

setParent(String value)

public ListOperationsRequest.Builder setParent(String value)

The parent (project and location) where the operations will be listed. Specified in the format projects/*/locations/*. Location "-" matches all zones and all regions.

string parent = 4;

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListOperationsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListOperationsRequest.Builder setParentBytes(ByteString value)

The parent (project and location) where the operations will be listed. Specified in the format projects/*/locations/*. Location "-" matches all zones and all regions.

string parent = 4;

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListOperationsRequest.Builder

This builder for chaining.

setProjectId(String value) (deprecated)

public ListOperationsRequest.Builder setProjectId(String value)

Deprecated. google.container.v1.ListOperationsRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3217

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

string project_id = 1 [deprecated = true];

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
ListOperationsRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value) (deprecated)

public ListOperationsRequest.Builder setProjectIdBytes(ByteString value)

Deprecated. google.container.v1.ListOperationsRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=3217

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

string project_id = 1 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
ListOperationsRequest.Builder

This builder for chaining.

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

public ListOperationsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListOperationsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setZone(String value) (deprecated)

public ListOperationsRequest.Builder setZone(String value)

Deprecated. google.container.v1.ListOperationsRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3223

Deprecated. The name of the Google Compute Engine zone to return operations for, or - for all zones. This field has been deprecated and replaced by the parent field.

string zone = 2 [deprecated = true];

Parameter
Name Description
value String

The zone to set.

Returns
Type Description
ListOperationsRequest.Builder

This builder for chaining.

setZoneBytes(ByteString value) (deprecated)

public ListOperationsRequest.Builder setZoneBytes(ByteString value)

Deprecated. google.container.v1.ListOperationsRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=3223

Deprecated. The name of the Google Compute Engine zone to return operations for, or - for all zones. This field has been deprecated and replaced by the parent field.

string zone = 2 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
ListOperationsRequest.Builder

This builder for chaining.