Class ListOperationsRequest.Builder (2.5.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListOperationsRequest build()
Returns
TypeDescription
ListOperationsRequest

buildPartial()

public ListOperationsRequest buildPartial()
Returns
TypeDescription
ListOperationsRequest

clear()

public ListOperationsRequest.Builder clear()
Returns
TypeDescription
ListOperationsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ListOperationsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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=2524

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
TypeDescription
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=2530

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
TypeDescription
ListOperationsRequest.Builder

This builder for chaining.

clone()

public ListOperationsRequest.Builder clone()
Returns
TypeDescription
ListOperationsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListOperationsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListOperationsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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=2524

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
TypeDescription
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=2524

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
TypeDescription
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=2530

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
TypeDescription
String

The zone.

getZoneBytes() (deprecated)

public ByteString getZoneBytes()

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

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
TypeDescription
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListOperationsRequest other)

public ListOperationsRequest.Builder mergeFrom(ListOperationsRequest other)
Parameter
NameDescription
otherListOperationsRequest
Returns
TypeDescription
ListOperationsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListOperationsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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=2524

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
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
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=2524

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
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListOperationsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListOperationsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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=2530

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
NameDescription
valueString

The zone to set.

Returns
TypeDescription
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=2530

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
NameDescription
valueByteString

The bytes for zone to set.

Returns
TypeDescription
ListOperationsRequest.Builder

This builder for chaining.