Class WatchServicesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WatchServicesResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<WatchServicesResponse.Builder>
ai.pipestream.platform.registration.v1.WatchServicesResponse.Builder
- All Implemented Interfaces:
WatchServicesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
WatchServicesResponse
public static final class WatchServicesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<WatchServicesResponse.Builder>
implements WatchServicesResponseOrBuilder
Response for WatchServices RPC (streaming).Protobuf type
ai.pipestream.platform.registration.v1.WatchServicesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllServices(Iterable<? extends GetServiceResponse> values) List of all registered service instances with their details.addServices(int index, GetServiceResponse value) List of all registered service instances with their details.addServices(int index, GetServiceResponse.Builder builderForValue) List of all registered service instances with their details.addServices(GetServiceResponse value) List of all registered service instances with their details.addServices(GetServiceResponse.Builder builderForValue) List of all registered service instances with their details.List of all registered service instances with their details.addServicesBuilder(int index) List of all registered service instances with their details.build()clear()Timestamp when this snapshot was captured.List of all registered service instances with their details.Total count of service instances.com.google.protobuf.TimestampgetAsOf()Timestamp when this snapshot was captured.com.google.protobuf.Timestamp.BuilderTimestamp when this snapshot was captured.com.google.protobuf.TimestampOrBuilderTimestamp when this snapshot was captured.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetServices(int index) List of all registered service instances with their details.getServicesBuilder(int index) List of all registered service instances with their details.List of all registered service instances with their details.intList of all registered service instances with their details.List of all registered service instances with their details.getServicesOrBuilder(int index) List of all registered service instances with their details.List<? extends GetServiceResponseOrBuilder> List of all registered service instances with their details.intTotal count of service instances.booleanhasAsOf()Timestamp when this snapshot was captured.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAsOf(com.google.protobuf.Timestamp value) Timestamp when this snapshot was captured.mergeFrom(WatchServicesResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeServices(int index) List of all registered service instances with their details.setAsOf(com.google.protobuf.Timestamp value) Timestamp when this snapshot was captured.setAsOf(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when this snapshot was captured.setServices(int index, GetServiceResponse value) List of all registered service instances with their details.setServices(int index, GetServiceResponse.Builder builderForValue) List of all registered service instances with their details.setTotalCount(int value) Total count of service instances.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<WatchServicesResponse.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<WatchServicesResponse.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<WatchServicesResponse.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<WatchServicesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<WatchServicesResponse.Builder>
-
mergeFrom
public WatchServicesResponse.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<WatchServicesResponse.Builder>- Throws:
IOException
-
getServicesList
List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1;- Specified by:
getServicesListin interfaceWatchServicesResponseOrBuilder
-
getServicesCount
public int getServicesCount()List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1;- Specified by:
getServicesCountin interfaceWatchServicesResponseOrBuilder
-
getServices
List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1;- Specified by:
getServicesin interfaceWatchServicesResponseOrBuilder
-
setServices
List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1; -
setServices
public WatchServicesResponse.Builder setServices(int index, GetServiceResponse.Builder builderForValue) List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1; -
addServices
List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1; -
addServices
List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1; -
addServices
List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1; -
addServices
public WatchServicesResponse.Builder addServices(int index, GetServiceResponse.Builder builderForValue) List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1; -
addAllServices
List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1; -
clearServices
List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1; -
removeServices
List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1; -
getServicesBuilder
List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1; -
getServicesOrBuilder
List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1;- Specified by:
getServicesOrBuilderin interfaceWatchServicesResponseOrBuilder
-
getServicesOrBuilderList
List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1;- Specified by:
getServicesOrBuilderListin interfaceWatchServicesResponseOrBuilder
-
addServicesBuilder
List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1; -
addServicesBuilder
List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1; -
getServicesBuilderList
List of all registered service instances with their details.
repeated .ai.pipestream.platform.registration.v1.GetServiceResponse services = 1; -
hasAsOf
public boolean hasAsOf()Timestamp when this snapshot was captured.
.google.protobuf.Timestamp as_of = 2;- Specified by:
hasAsOfin interfaceWatchServicesResponseOrBuilder- Returns:
- Whether the asOf field is set.
-
getAsOf
public com.google.protobuf.Timestamp getAsOf()Timestamp when this snapshot was captured.
.google.protobuf.Timestamp as_of = 2;- Specified by:
getAsOfin interfaceWatchServicesResponseOrBuilder- Returns:
- The asOf.
-
setAsOf
Timestamp when this snapshot was captured.
.google.protobuf.Timestamp as_of = 2; -
setAsOf
Timestamp when this snapshot was captured.
.google.protobuf.Timestamp as_of = 2; -
mergeAsOf
Timestamp when this snapshot was captured.
.google.protobuf.Timestamp as_of = 2; -
clearAsOf
Timestamp when this snapshot was captured.
.google.protobuf.Timestamp as_of = 2; -
getAsOfBuilder
public com.google.protobuf.Timestamp.Builder getAsOfBuilder()Timestamp when this snapshot was captured.
.google.protobuf.Timestamp as_of = 2; -
getAsOfOrBuilder
public com.google.protobuf.TimestampOrBuilder getAsOfOrBuilder()Timestamp when this snapshot was captured.
.google.protobuf.Timestamp as_of = 2;- Specified by:
getAsOfOrBuilderin interfaceWatchServicesResponseOrBuilder
-
getTotalCount
public int getTotalCount()Total count of service instances.
int32 total_count = 3;- Specified by:
getTotalCountin interfaceWatchServicesResponseOrBuilder- Returns:
- The totalCount.
-
setTotalCount
Total count of service instances.
int32 total_count = 3;- Parameters:
value- The totalCount to set.- Returns:
- This builder for chaining.
-
clearTotalCount
Total count of service instances.
int32 total_count = 3;- Returns:
- This builder for chaining.
-