Package com.google.container.v1beta1
Class ListOperationsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
- com.google.container.v1beta1.ListOperationsResponse.Builder
-
- All Implemented Interfaces:
ListOperationsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListOperationsResponse
public static final class ListOperationsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder> implements ListOperationsResponseOrBuilder
ListOperationsResponse is the result of ListOperationsRequest.
Protobuf typegoogle.container.v1beta1.ListOperationsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListOperationsResponse.Builder
addAllMissingZones(Iterable<String> values)
If any zones are listed here, the list of operations returned may be missing the operations from those zones.ListOperationsResponse.Builder
addAllOperations(Iterable<? extends Operation> values)
A list of operations in the project in the specified zone.ListOperationsResponse.Builder
addMissingZones(String value)
If any zones are listed here, the list of operations returned may be missing the operations from those zones.ListOperationsResponse.Builder
addMissingZonesBytes(com.google.protobuf.ByteString value)
If any zones are listed here, the list of operations returned may be missing the operations from those zones.ListOperationsResponse.Builder
addOperations(int index, Operation value)
A list of operations in the project in the specified zone.ListOperationsResponse.Builder
addOperations(int index, Operation.Builder builderForValue)
A list of operations in the project in the specified zone.ListOperationsResponse.Builder
addOperations(Operation value)
A list of operations in the project in the specified zone.ListOperationsResponse.Builder
addOperations(Operation.Builder builderForValue)
A list of operations in the project in the specified zone.Operation.Builder
addOperationsBuilder()
A list of operations in the project in the specified zone.Operation.Builder
addOperationsBuilder(int index)
A list of operations in the project in the specified zone.ListOperationsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListOperationsResponse
build()
ListOperationsResponse
buildPartial()
ListOperationsResponse.Builder
clear()
ListOperationsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListOperationsResponse.Builder
clearMissingZones()
If any zones are listed here, the list of operations returned may be missing the operations from those zones.ListOperationsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListOperationsResponse.Builder
clearOperations()
A list of operations in the project in the specified zone.ListOperationsResponse.Builder
clone()
ListOperationsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getMissingZones(int index)
If any zones are listed here, the list of operations returned may be missing the operations from those zones.com.google.protobuf.ByteString
getMissingZonesBytes(int index)
If any zones are listed here, the list of operations returned may be missing the operations from those zones.int
getMissingZonesCount()
If any zones are listed here, the list of operations returned may be missing the operations from those zones.com.google.protobuf.ProtocolStringList
getMissingZonesList()
If any zones are listed here, the list of operations returned may be missing the operations from those zones.Operation
getOperations(int index)
A list of operations in the project in the specified zone.Operation.Builder
getOperationsBuilder(int index)
A list of operations in the project in the specified zone.List<Operation.Builder>
getOperationsBuilderList()
A list of operations in the project in the specified zone.int
getOperationsCount()
A list of operations in the project in the specified zone.List<Operation>
getOperationsList()
A list of operations in the project in the specified zone.OperationOrBuilder
getOperationsOrBuilder(int index)
A list of operations in the project in the specified zone.List<? extends OperationOrBuilder>
getOperationsOrBuilderList()
A list of operations in the project in the specified zone.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListOperationsResponse.Builder
mergeFrom(ListOperationsResponse other)
ListOperationsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListOperationsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListOperationsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListOperationsResponse.Builder
removeOperations(int index)
A list of operations in the project in the specified zone.ListOperationsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListOperationsResponse.Builder
setMissingZones(int index, String value)
If any zones are listed here, the list of operations returned may be missing the operations from those zones.ListOperationsResponse.Builder
setOperations(int index, Operation value)
A list of operations in the project in the specified zone.ListOperationsResponse.Builder
setOperations(int index, Operation.Builder builderForValue)
A list of operations in the project in the specified zone.ListOperationsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListOperationsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
clear
public ListOperationsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
getDefaultInstanceForType
public ListOperationsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListOperationsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListOperationsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListOperationsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
setField
public ListOperationsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
clearField
public ListOperationsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
clearOneof
public ListOperationsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
setRepeatedField
public ListOperationsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
addRepeatedField
public ListOperationsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
mergeFrom
public ListOperationsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListOperationsResponse.Builder>
-
mergeFrom
public ListOperationsResponse.Builder mergeFrom(ListOperationsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
mergeFrom
public ListOperationsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListOperationsResponse.Builder>
- Throws:
IOException
-
getOperationsList
public List<Operation> getOperationsList()
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
- Specified by:
getOperationsList
in interfaceListOperationsResponseOrBuilder
-
getOperationsCount
public int getOperationsCount()
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
- Specified by:
getOperationsCount
in interfaceListOperationsResponseOrBuilder
-
getOperations
public Operation getOperations(int index)
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
- Specified by:
getOperations
in interfaceListOperationsResponseOrBuilder
-
setOperations
public ListOperationsResponse.Builder setOperations(int index, Operation value)
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
-
setOperations
public ListOperationsResponse.Builder setOperations(int index, Operation.Builder builderForValue)
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
-
addOperations
public ListOperationsResponse.Builder addOperations(Operation value)
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
-
addOperations
public ListOperationsResponse.Builder addOperations(int index, Operation value)
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
-
addOperations
public ListOperationsResponse.Builder addOperations(Operation.Builder builderForValue)
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
-
addOperations
public ListOperationsResponse.Builder addOperations(int index, Operation.Builder builderForValue)
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
-
addAllOperations
public ListOperationsResponse.Builder addAllOperations(Iterable<? extends Operation> values)
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
-
clearOperations
public ListOperationsResponse.Builder clearOperations()
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
-
removeOperations
public ListOperationsResponse.Builder removeOperations(int index)
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
-
getOperationsBuilder
public Operation.Builder getOperationsBuilder(int index)
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
-
getOperationsOrBuilder
public OperationOrBuilder getOperationsOrBuilder(int index)
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
- Specified by:
getOperationsOrBuilder
in interfaceListOperationsResponseOrBuilder
-
getOperationsOrBuilderList
public List<? extends OperationOrBuilder> getOperationsOrBuilderList()
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
- Specified by:
getOperationsOrBuilderList
in interfaceListOperationsResponseOrBuilder
-
addOperationsBuilder
public Operation.Builder addOperationsBuilder()
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
-
addOperationsBuilder
public Operation.Builder addOperationsBuilder(int index)
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
-
getOperationsBuilderList
public List<Operation.Builder> getOperationsBuilderList()
A list of operations in the project in the specified zone.
repeated .google.container.v1beta1.Operation operations = 1;
-
getMissingZonesList
public com.google.protobuf.ProtocolStringList getMissingZonesList()
If any zones are listed here, the list of operations returned may be missing the operations from those zones.
repeated string missing_zones = 2;
- Specified by:
getMissingZonesList
in interfaceListOperationsResponseOrBuilder
- Returns:
- A list containing the missingZones.
-
getMissingZonesCount
public int getMissingZonesCount()
If any zones are listed here, the list of operations returned may be missing the operations from those zones.
repeated string missing_zones = 2;
- Specified by:
getMissingZonesCount
in interfaceListOperationsResponseOrBuilder
- Returns:
- The count of missingZones.
-
getMissingZones
public String getMissingZones(int index)
If any zones are listed here, the list of operations returned may be missing the operations from those zones.
repeated string missing_zones = 2;
- Specified by:
getMissingZones
in interfaceListOperationsResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The missingZones at the given index.
-
getMissingZonesBytes
public com.google.protobuf.ByteString getMissingZonesBytes(int index)
If any zones are listed here, the list of operations returned may be missing the operations from those zones.
repeated string missing_zones = 2;
- Specified by:
getMissingZonesBytes
in interfaceListOperationsResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the missingZones at the given index.
-
setMissingZones
public ListOperationsResponse.Builder setMissingZones(int index, String value)
If any zones are listed here, the list of operations returned may be missing the operations from those zones.
repeated string missing_zones = 2;
- Parameters:
index
- The index to set the value at.value
- The missingZones to set.- Returns:
- This builder for chaining.
-
addMissingZones
public ListOperationsResponse.Builder addMissingZones(String value)
If any zones are listed here, the list of operations returned may be missing the operations from those zones.
repeated string missing_zones = 2;
- Parameters:
value
- The missingZones to add.- Returns:
- This builder for chaining.
-
addAllMissingZones
public ListOperationsResponse.Builder addAllMissingZones(Iterable<String> values)
If any zones are listed here, the list of operations returned may be missing the operations from those zones.
repeated string missing_zones = 2;
- Parameters:
values
- The missingZones to add.- Returns:
- This builder for chaining.
-
clearMissingZones
public ListOperationsResponse.Builder clearMissingZones()
If any zones are listed here, the list of operations returned may be missing the operations from those zones.
repeated string missing_zones = 2;
- Returns:
- This builder for chaining.
-
addMissingZonesBytes
public ListOperationsResponse.Builder addMissingZonesBytes(com.google.protobuf.ByteString value)
If any zones are listed here, the list of operations returned may be missing the operations from those zones.
repeated string missing_zones = 2;
- Parameters:
value
- The bytes of the missingZones to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListOperationsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
mergeUnknownFields
public final ListOperationsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListOperationsResponse.Builder>
-
-