Class ListOperationsRequest.Builder

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

ListOperationsRequest lists operations.

Protobuf type google.container.v1beta1.ListOperationsRequest

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()

public ListOperationsRequest.Builder clearProjectId()

Required. 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, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ListOperationsRequest.Builder

This builder for chaining.

clearZone()

public ListOperationsRequest.Builder clearZone()

Required. 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, (.google.api.field_behavior) = REQUIRED];

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

getDescriptor()

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

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()

public String getProjectId()

Required. 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, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Required. 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, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for projectId.

getZone()

public String getZone()

Required. 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, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

Required. 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, (.google.api.field_behavior) = REQUIRED];

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)

public ListOperationsRequest.Builder setProjectId(String value)

Required. 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, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
ListOperationsRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public ListOperationsRequest.Builder setProjectIdBytes(ByteString value)

Required. 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, (.google.api.field_behavior) = REQUIRED];

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)

public ListOperationsRequest.Builder setZone(String value)

Required. 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, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The zone to set.

Returns
TypeDescription
ListOperationsRequest.Builder

This builder for chaining.

setZoneBytes(ByteString value)

public ListOperationsRequest.Builder setZoneBytes(ByteString value)

Required. 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, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for zone to set.

Returns
TypeDescription
ListOperationsRequest.Builder

This builder for chaining.