Class ListArtifactsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListArtifactsResponse.Builder>
-
- com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.Builder
-
- All Implemented Interfaces:
ListArtifactsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListArtifactsResponse
public static final class ListArtifactsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListArtifactsResponse.Builder> implements ListArtifactsResponseOrBuilder
Response message for ListArtifacts.
Protobuf typegoogle.cloud.apigeeregistry.v1.ListArtifactsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListArtifactsResponse.Builder
addAllArtifacts(Iterable<? extends Artifact> values)
The artifacts from the specified publisher.ListArtifactsResponse.Builder
addArtifacts(int index, Artifact value)
The artifacts from the specified publisher.ListArtifactsResponse.Builder
addArtifacts(int index, Artifact.Builder builderForValue)
The artifacts from the specified publisher.ListArtifactsResponse.Builder
addArtifacts(Artifact value)
The artifacts from the specified publisher.ListArtifactsResponse.Builder
addArtifacts(Artifact.Builder builderForValue)
The artifacts from the specified publisher.Artifact.Builder
addArtifactsBuilder()
The artifacts from the specified publisher.Artifact.Builder
addArtifactsBuilder(int index)
The artifacts from the specified publisher.ListArtifactsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListArtifactsResponse
build()
ListArtifactsResponse
buildPartial()
ListArtifactsResponse.Builder
clear()
ListArtifactsResponse.Builder
clearArtifacts()
The artifacts from the specified publisher.ListArtifactsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListArtifactsResponse.Builder
clearNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.ListArtifactsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListArtifactsResponse.Builder
clone()
Artifact
getArtifacts(int index)
The artifacts from the specified publisher.Artifact.Builder
getArtifactsBuilder(int index)
The artifacts from the specified publisher.List<Artifact.Builder>
getArtifactsBuilderList()
The artifacts from the specified publisher.int
getArtifactsCount()
The artifacts from the specified publisher.List<Artifact>
getArtifactsList()
The artifacts from the specified publisher.ArtifactOrBuilder
getArtifactsOrBuilder(int index)
The artifacts from the specified publisher.List<? extends ArtifactOrBuilder>
getArtifactsOrBuilderList()
The artifacts from the specified publisher.ListArtifactsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteString
getNextPageTokenBytes()
A token, which can be sent as `page_token` to retrieve the next page.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListArtifactsResponse.Builder
mergeFrom(ListArtifactsResponse other)
ListArtifactsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListArtifactsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListArtifactsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListArtifactsResponse.Builder
removeArtifacts(int index)
The artifacts from the specified publisher.ListArtifactsResponse.Builder
setArtifacts(int index, Artifact value)
The artifacts from the specified publisher.ListArtifactsResponse.Builder
setArtifacts(int index, Artifact.Builder builderForValue)
The artifacts from the specified publisher.ListArtifactsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListArtifactsResponse.Builder
setNextPageToken(String value)
A token, which can be sent as `page_token` to retrieve the next page.ListArtifactsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as `page_token` to retrieve the next page.ListArtifactsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListArtifactsResponse.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<ListArtifactsResponse.Builder>
-
clear
public ListArtifactsResponse.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<ListArtifactsResponse.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<ListArtifactsResponse.Builder>
-
getDefaultInstanceForType
public ListArtifactsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListArtifactsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListArtifactsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListArtifactsResponse.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<ListArtifactsResponse.Builder>
-
setField
public ListArtifactsResponse.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<ListArtifactsResponse.Builder>
-
clearField
public ListArtifactsResponse.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<ListArtifactsResponse.Builder>
-
clearOneof
public ListArtifactsResponse.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<ListArtifactsResponse.Builder>
-
setRepeatedField
public ListArtifactsResponse.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<ListArtifactsResponse.Builder>
-
addRepeatedField
public ListArtifactsResponse.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<ListArtifactsResponse.Builder>
-
mergeFrom
public ListArtifactsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListArtifactsResponse.Builder>
-
mergeFrom
public ListArtifactsResponse.Builder mergeFrom(ListArtifactsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListArtifactsResponse.Builder>
-
mergeFrom
public ListArtifactsResponse.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<ListArtifactsResponse.Builder>
- Throws:
IOException
-
getArtifactsList
public List<Artifact> getArtifactsList()
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
- Specified by:
getArtifactsList
in interfaceListArtifactsResponseOrBuilder
-
getArtifactsCount
public int getArtifactsCount()
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
- Specified by:
getArtifactsCount
in interfaceListArtifactsResponseOrBuilder
-
getArtifacts
public Artifact getArtifacts(int index)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
- Specified by:
getArtifacts
in interfaceListArtifactsResponseOrBuilder
-
setArtifacts
public ListArtifactsResponse.Builder setArtifacts(int index, Artifact value)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
-
setArtifacts
public ListArtifactsResponse.Builder setArtifacts(int index, Artifact.Builder builderForValue)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
-
addArtifacts
public ListArtifactsResponse.Builder addArtifacts(Artifact value)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
-
addArtifacts
public ListArtifactsResponse.Builder addArtifacts(int index, Artifact value)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
-
addArtifacts
public ListArtifactsResponse.Builder addArtifacts(Artifact.Builder builderForValue)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
-
addArtifacts
public ListArtifactsResponse.Builder addArtifacts(int index, Artifact.Builder builderForValue)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
-
addAllArtifacts
public ListArtifactsResponse.Builder addAllArtifacts(Iterable<? extends Artifact> values)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
-
clearArtifacts
public ListArtifactsResponse.Builder clearArtifacts()
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
-
removeArtifacts
public ListArtifactsResponse.Builder removeArtifacts(int index)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
-
getArtifactsBuilder
public Artifact.Builder getArtifactsBuilder(int index)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
-
getArtifactsOrBuilder
public ArtifactOrBuilder getArtifactsOrBuilder(int index)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
- Specified by:
getArtifactsOrBuilder
in interfaceListArtifactsResponseOrBuilder
-
getArtifactsOrBuilderList
public List<? extends ArtifactOrBuilder> getArtifactsOrBuilderList()
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
- Specified by:
getArtifactsOrBuilderList
in interfaceListArtifactsResponseOrBuilder
-
addArtifactsBuilder
public Artifact.Builder addArtifactsBuilder()
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
-
addArtifactsBuilder
public Artifact.Builder addArtifactsBuilder(int index)
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
-
getArtifactsBuilderList
public List<Artifact.Builder> getArtifactsBuilderList()
The artifacts from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1;
-
getNextPageToken
public String getNextPageToken()
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;
- Specified by:
getNextPageToken
in interfaceListArtifactsResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
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;
- Specified by:
getNextPageTokenBytes
in interfaceListArtifactsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListArtifactsResponse.Builder setNextPageToken(String value)
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;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListArtifactsResponse.Builder clearNextPageToken()
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;
- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListArtifactsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListArtifactsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListArtifactsResponse.Builder>
-
mergeUnknownFields
public final ListArtifactsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListArtifactsResponse.Builder>
-
-