Class SearchCatalogsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogsResponse.Builder>
-
- com.google.cloud.privatecatalog.v1beta1.SearchCatalogsResponse.Builder
-
- All Implemented Interfaces:
SearchCatalogsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchCatalogsResponse
public static final class SearchCatalogsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogsResponse.Builder> implements SearchCatalogsResponseOrBuilder
Response message for [PrivateCatalog.SearchCatalogs][google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs].
Protobuf typegoogle.cloud.privatecatalog.v1beta1.SearchCatalogsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchCatalogsResponse.BuilderaddAllCatalogs(Iterable<? extends Catalog> values)The `Catalog`s computed from the resource context.SearchCatalogsResponse.BuilderaddCatalogs(int index, Catalog value)The `Catalog`s computed from the resource context.SearchCatalogsResponse.BuilderaddCatalogs(int index, Catalog.Builder builderForValue)The `Catalog`s computed from the resource context.SearchCatalogsResponse.BuilderaddCatalogs(Catalog value)The `Catalog`s computed from the resource context.SearchCatalogsResponse.BuilderaddCatalogs(Catalog.Builder builderForValue)The `Catalog`s computed from the resource context.Catalog.BuilderaddCatalogsBuilder()The `Catalog`s computed from the resource context.Catalog.BuilderaddCatalogsBuilder(int index)The `Catalog`s computed from the resource context.SearchCatalogsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SearchCatalogsResponsebuild()SearchCatalogsResponsebuildPartial()SearchCatalogsResponse.Builderclear()SearchCatalogsResponse.BuilderclearCatalogs()The `Catalog`s computed from the resource context.SearchCatalogsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SearchCatalogsResponse.BuilderclearNextPageToken()A pagination token returned from a previous call to SearchCatalogs that indicates from where listing should continue.SearchCatalogsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SearchCatalogsResponse.Builderclone()CataloggetCatalogs(int index)The `Catalog`s computed from the resource context.Catalog.BuildergetCatalogsBuilder(int index)The `Catalog`s computed from the resource context.List<Catalog.Builder>getCatalogsBuilderList()The `Catalog`s computed from the resource context.intgetCatalogsCount()The `Catalog`s computed from the resource context.List<Catalog>getCatalogsList()The `Catalog`s computed from the resource context.CatalogOrBuildergetCatalogsOrBuilder(int index)The `Catalog`s computed from the resource context.List<? extends CatalogOrBuilder>getCatalogsOrBuilderList()The `Catalog`s computed from the resource context.SearchCatalogsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNextPageToken()A pagination token returned from a previous call to SearchCatalogs that indicates from where listing should continue.com.google.protobuf.ByteStringgetNextPageTokenBytes()A pagination token returned from a previous call to SearchCatalogs that indicates from where listing should continue.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SearchCatalogsResponse.BuildermergeFrom(SearchCatalogsResponse other)SearchCatalogsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SearchCatalogsResponse.BuildermergeFrom(com.google.protobuf.Message other)SearchCatalogsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SearchCatalogsResponse.BuilderremoveCatalogs(int index)The `Catalog`s computed from the resource context.SearchCatalogsResponse.BuildersetCatalogs(int index, Catalog value)The `Catalog`s computed from the resource context.SearchCatalogsResponse.BuildersetCatalogs(int index, Catalog.Builder builderForValue)The `Catalog`s computed from the resource context.SearchCatalogsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SearchCatalogsResponse.BuildersetNextPageToken(String value)A pagination token returned from a previous call to SearchCatalogs that indicates from where listing should continue.SearchCatalogsResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)A pagination token returned from a previous call to SearchCatalogs that indicates from where listing should continue.SearchCatalogsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)SearchCatalogsResponse.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogsResponse.Builder>
-
clear
public SearchCatalogsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogsResponse.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.GeneratedMessageV3.Builder<SearchCatalogsResponse.Builder>
-
getDefaultInstanceForType
public SearchCatalogsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SearchCatalogsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SearchCatalogsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SearchCatalogsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogsResponse.Builder>
-
setField
public SearchCatalogsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogsResponse.Builder>
-
clearField
public SearchCatalogsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogsResponse.Builder>
-
clearOneof
public SearchCatalogsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogsResponse.Builder>
-
setRepeatedField
public SearchCatalogsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogsResponse.Builder>
-
addRepeatedField
public SearchCatalogsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogsResponse.Builder>
-
mergeFrom
public SearchCatalogsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchCatalogsResponse.Builder>
-
mergeFrom
public SearchCatalogsResponse.Builder mergeFrom(SearchCatalogsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogsResponse.Builder>
-
mergeFrom
public SearchCatalogsResponse.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<SearchCatalogsResponse.Builder>- Throws:
IOException
-
getCatalogsList
public List<Catalog> getCatalogsList()
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;- Specified by:
getCatalogsListin interfaceSearchCatalogsResponseOrBuilder
-
getCatalogsCount
public int getCatalogsCount()
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;- Specified by:
getCatalogsCountin interfaceSearchCatalogsResponseOrBuilder
-
getCatalogs
public Catalog getCatalogs(int index)
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;- Specified by:
getCatalogsin interfaceSearchCatalogsResponseOrBuilder
-
setCatalogs
public SearchCatalogsResponse.Builder setCatalogs(int index, Catalog value)
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
-
setCatalogs
public SearchCatalogsResponse.Builder setCatalogs(int index, Catalog.Builder builderForValue)
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
-
addCatalogs
public SearchCatalogsResponse.Builder addCatalogs(Catalog value)
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
-
addCatalogs
public SearchCatalogsResponse.Builder addCatalogs(int index, Catalog value)
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
-
addCatalogs
public SearchCatalogsResponse.Builder addCatalogs(Catalog.Builder builderForValue)
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
-
addCatalogs
public SearchCatalogsResponse.Builder addCatalogs(int index, Catalog.Builder builderForValue)
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
-
addAllCatalogs
public SearchCatalogsResponse.Builder addAllCatalogs(Iterable<? extends Catalog> values)
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
-
clearCatalogs
public SearchCatalogsResponse.Builder clearCatalogs()
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
-
removeCatalogs
public SearchCatalogsResponse.Builder removeCatalogs(int index)
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
-
getCatalogsBuilder
public Catalog.Builder getCatalogsBuilder(int index)
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
-
getCatalogsOrBuilder
public CatalogOrBuilder getCatalogsOrBuilder(int index)
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;- Specified by:
getCatalogsOrBuilderin interfaceSearchCatalogsResponseOrBuilder
-
getCatalogsOrBuilderList
public List<? extends CatalogOrBuilder> getCatalogsOrBuilderList()
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;- Specified by:
getCatalogsOrBuilderListin interfaceSearchCatalogsResponseOrBuilder
-
addCatalogsBuilder
public Catalog.Builder addCatalogsBuilder()
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
-
addCatalogsBuilder
public Catalog.Builder addCatalogsBuilder(int index)
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
-
getCatalogsBuilderList
public List<Catalog.Builder> getCatalogsBuilderList()
The `Catalog`s computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
-
getNextPageToken
public String getNextPageToken()
A pagination token returned from a previous call to SearchCatalogs that indicates from where listing should continue.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceSearchCatalogsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
A pagination token returned from a previous call to SearchCatalogs that indicates from where listing should continue.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceSearchCatalogsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public SearchCatalogsResponse.Builder setNextPageToken(String value)
A pagination token returned from a previous call to SearchCatalogs that indicates from where listing should continue.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public SearchCatalogsResponse.Builder clearNextPageToken()
A pagination token returned from a previous call to SearchCatalogs that indicates from where listing should continue.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public SearchCatalogsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A pagination token returned from a previous call to SearchCatalogs that indicates from where listing should continue.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final SearchCatalogsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogsResponse.Builder>
-
mergeUnknownFields
public final SearchCatalogsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchCatalogsResponse.Builder>
-
-