Package com.google.cloud.vmmigration.v1
Class ListCloneJobsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListCloneJobsResponse.Builder>
-
- com.google.cloud.vmmigration.v1.ListCloneJobsResponse.Builder
-
- All Implemented Interfaces:
ListCloneJobsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListCloneJobsResponse
public static final class ListCloneJobsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListCloneJobsResponse.Builder> implements ListCloneJobsResponseOrBuilder
Response message for 'ListCloneJobs' request.
Protobuf typegoogle.cloud.vmmigration.v1.ListCloneJobsResponse
-
-
Method Summary
-
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<ListCloneJobsResponse.Builder>
-
clear
public ListCloneJobsResponse.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<ListCloneJobsResponse.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<ListCloneJobsResponse.Builder>
-
getDefaultInstanceForType
public ListCloneJobsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListCloneJobsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListCloneJobsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListCloneJobsResponse.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<ListCloneJobsResponse.Builder>
-
setField
public ListCloneJobsResponse.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<ListCloneJobsResponse.Builder>
-
clearField
public ListCloneJobsResponse.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<ListCloneJobsResponse.Builder>
-
clearOneof
public ListCloneJobsResponse.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<ListCloneJobsResponse.Builder>
-
setRepeatedField
public ListCloneJobsResponse.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<ListCloneJobsResponse.Builder>
-
addRepeatedField
public ListCloneJobsResponse.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<ListCloneJobsResponse.Builder>
-
mergeFrom
public ListCloneJobsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListCloneJobsResponse.Builder>
-
mergeFrom
public ListCloneJobsResponse.Builder mergeFrom(ListCloneJobsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCloneJobsResponse.Builder>
-
mergeFrom
public ListCloneJobsResponse.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<ListCloneJobsResponse.Builder>
- Throws:
IOException
-
getCloneJobsList
public List<CloneJob> getCloneJobsList()
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCloneJobsList
in interfaceListCloneJobsResponseOrBuilder
-
getCloneJobsCount
public int getCloneJobsCount()
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCloneJobsCount
in interfaceListCloneJobsResponseOrBuilder
-
getCloneJobs
public CloneJob getCloneJobs(int index)
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCloneJobs
in interfaceListCloneJobsResponseOrBuilder
-
setCloneJobs
public ListCloneJobsResponse.Builder setCloneJobs(int index, CloneJob value)
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCloneJobs
public ListCloneJobsResponse.Builder setCloneJobs(int index, CloneJob.Builder builderForValue)
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addCloneJobs
public ListCloneJobsResponse.Builder addCloneJobs(CloneJob value)
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addCloneJobs
public ListCloneJobsResponse.Builder addCloneJobs(int index, CloneJob value)
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addCloneJobs
public ListCloneJobsResponse.Builder addCloneJobs(CloneJob.Builder builderForValue)
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addCloneJobs
public ListCloneJobsResponse.Builder addCloneJobs(int index, CloneJob.Builder builderForValue)
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllCloneJobs
public ListCloneJobsResponse.Builder addAllCloneJobs(Iterable<? extends CloneJob> values)
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCloneJobs
public ListCloneJobsResponse.Builder clearCloneJobs()
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeCloneJobs
public ListCloneJobsResponse.Builder removeCloneJobs(int index)
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCloneJobsBuilder
public CloneJob.Builder getCloneJobsBuilder(int index)
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCloneJobsOrBuilder
public CloneJobOrBuilder getCloneJobsOrBuilder(int index)
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCloneJobsOrBuilder
in interfaceListCloneJobsResponseOrBuilder
-
getCloneJobsOrBuilderList
public List<? extends CloneJobOrBuilder> getCloneJobsOrBuilderList()
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCloneJobsOrBuilderList
in interfaceListCloneJobsResponseOrBuilder
-
addCloneJobsBuilder
public CloneJob.Builder addCloneJobsBuilder()
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addCloneJobsBuilder
public CloneJob.Builder addCloneJobsBuilder(int index)
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCloneJobsBuilderList
public List<CloneJob.Builder> getCloneJobsBuilderList()
Output only. The list of clone jobs response.
repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getNextPageToken
public String getNextPageToken()
Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNextPageToken
in interfaceListCloneJobsResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNextPageTokenBytes
in interfaceListCloneJobsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListCloneJobsResponse.Builder setNextPageToken(String value)
Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListCloneJobsResponse.Builder clearNextPageToken()
Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListCloneJobsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUnreachableList
in interfaceListCloneJobsResponseOrBuilder
- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUnreachableCount
in interfaceListCloneJobsResponseOrBuilder
- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUnreachable
in interfaceListCloneJobsResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUnreachableBytes
in interfaceListCloneJobsResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
public ListCloneJobsResponse.Builder setUnreachable(int index, String value)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
index
- The index to set the value at.value
- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
public ListCloneJobsResponse.Builder addUnreachable(String value)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
public ListCloneJobsResponse.Builder addAllUnreachable(Iterable<String> values)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
values
- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
public ListCloneJobsResponse.Builder clearUnreachable()
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListCloneJobsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListCloneJobsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCloneJobsResponse.Builder>
-
mergeUnknownFields
public final ListCloneJobsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCloneJobsResponse.Builder>
-
-