Package com.google.cloud.osconfig.v1beta
Class PatchJobs.ListPatchJobsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PatchJobs.ListPatchJobsResponse.Builder>
com.google.cloud.osconfig.v1beta.PatchJobs.ListPatchJobsResponse.Builder
- All Implemented Interfaces:
PatchJobs.ListPatchJobsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PatchJobs.ListPatchJobsResponse
public static final class PatchJobs.ListPatchJobsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PatchJobs.ListPatchJobsResponse.Builder>
implements PatchJobs.ListPatchJobsResponseOrBuilder
A response message for listing patch jobs.Protobuf type
google.cloud.osconfig.v1beta.ListPatchJobsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllPatchJobs(Iterable<? extends PatchJobs.PatchJob> values) The list of patch jobs.addPatchJobs(int index, PatchJobs.PatchJob value) The list of patch jobs.addPatchJobs(int index, PatchJobs.PatchJob.Builder builderForValue) The list of patch jobs.addPatchJobs(PatchJobs.PatchJob value) The list of patch jobs.addPatchJobs(PatchJobs.PatchJob.Builder builderForValue) The list of patch jobs.The list of patch jobs.addPatchJobsBuilder(int index) The list of patch jobs.build()clear()A pagination token that can be used to get the next page of results.The list of patch jobs.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA pagination token that can be used to get the next page of results.com.google.protobuf.ByteStringA pagination token that can be used to get the next page of results.getPatchJobs(int index) The list of patch jobs.getPatchJobsBuilder(int index) The list of patch jobs.The list of patch jobs.intThe list of patch jobs.The list of patch jobs.getPatchJobsOrBuilder(int index) The list of patch jobs.List<? extends PatchJobs.PatchJobOrBuilder>The list of patch jobs.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removePatchJobs(int index) The list of patch jobs.setNextPageToken(String value) A pagination token that can be used to get the next page of results.setNextPageTokenBytes(com.google.protobuf.ByteString value) A pagination token that can be used to get the next page of results.setPatchJobs(int index, PatchJobs.PatchJob value) The list of patch jobs.setPatchJobs(int index, PatchJobs.PatchJob.Builder builderForValue) The list of patch jobs.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.ListPatchJobsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.ListPatchJobsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.ListPatchJobsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PatchJobs.ListPatchJobsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.ListPatchJobsResponse.Builder>
-
mergeFrom
public PatchJobs.ListPatchJobsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PatchJobs.ListPatchJobsResponse.Builder>- Throws:
IOException
-
getPatchJobsList
The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1;- Specified by:
getPatchJobsListin interfacePatchJobs.ListPatchJobsResponseOrBuilder
-
getPatchJobsCount
public int getPatchJobsCount()The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1;- Specified by:
getPatchJobsCountin interfacePatchJobs.ListPatchJobsResponseOrBuilder
-
getPatchJobs
The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1;- Specified by:
getPatchJobsin interfacePatchJobs.ListPatchJobsResponseOrBuilder
-
setPatchJobs
The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; -
setPatchJobs
public PatchJobs.ListPatchJobsResponse.Builder setPatchJobs(int index, PatchJobs.PatchJob.Builder builderForValue) The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; -
addPatchJobs
The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; -
addPatchJobs
The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; -
addPatchJobs
public PatchJobs.ListPatchJobsResponse.Builder addPatchJobs(PatchJobs.PatchJob.Builder builderForValue) The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; -
addPatchJobs
public PatchJobs.ListPatchJobsResponse.Builder addPatchJobs(int index, PatchJobs.PatchJob.Builder builderForValue) The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; -
addAllPatchJobs
public PatchJobs.ListPatchJobsResponse.Builder addAllPatchJobs(Iterable<? extends PatchJobs.PatchJob> values) The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; -
clearPatchJobs
The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; -
removePatchJobs
The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; -
getPatchJobsBuilder
The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; -
getPatchJobsOrBuilder
The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1;- Specified by:
getPatchJobsOrBuilderin interfacePatchJobs.ListPatchJobsResponseOrBuilder
-
getPatchJobsOrBuilderList
The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1;- Specified by:
getPatchJobsOrBuilderListin interfacePatchJobs.ListPatchJobsResponseOrBuilder
-
addPatchJobsBuilder
The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; -
addPatchJobsBuilder
The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; -
getPatchJobsBuilderList
The list of patch jobs.
repeated .google.cloud.osconfig.v1beta.PatchJob patch_jobs = 1; -
getNextPageToken
A pagination token that can be used to get the next page of results.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfacePatchJobs.ListPatchJobsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()A pagination token that can be used to get the next page of results.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfacePatchJobs.ListPatchJobsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
A pagination token that can be used to get the next page of results.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
A pagination token that can be used to get the next page of results.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public PatchJobs.ListPatchJobsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) A pagination token that can be used to get the next page of results.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-