public static final class SourceCatalog.Builder extends GeneratedMessage.Builder<SourceCatalog.Builder> implements SourceCatalogOrBuilder
Source catalog.
Protobuf type google.cloud.datastream.v1.SourceCatalog
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllObjects(Iterable<? extends SourceObject> values)
public SourceCatalog.Builder addAllObjects(Iterable<? extends SourceObject> values)
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.datastream.v1.SourceObject>
|
addObjects(SourceObject value)
public SourceCatalog.Builder addObjects(SourceObject value)
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
addObjects(SourceObject.Builder builderForValue)
public SourceCatalog.Builder addObjects(SourceObject.Builder builderForValue)
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
addObjects(int index, SourceObject value)
public SourceCatalog.Builder addObjects(int index, SourceObject value)
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
addObjects(int index, SourceObject.Builder builderForValue)
public SourceCatalog.Builder addObjects(int index, SourceObject.Builder builderForValue)
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
addObjectsBuilder()
public SourceObject.Builder addObjectsBuilder()
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
addObjectsBuilder(int index)
public SourceObject.Builder addObjectsBuilder(int index)
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
build()
public SourceCatalog build()
buildPartial()
public SourceCatalog buildPartial()
clear()
public SourceCatalog.Builder clear()
Overrides
clearObjects()
public SourceCatalog.Builder clearObjects()
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public SourceCatalog getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getObjects(int index)
public SourceObject getObjects(int index)
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getObjectsBuilder(int index)
public SourceObject.Builder getObjectsBuilder(int index)
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getObjectsBuilderList()
public List<SourceObject.Builder> getObjectsBuilderList()
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
getObjectsCount()
public int getObjectsCount()
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getObjectsList()
public List<SourceObject> getObjectsList()
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
getObjectsOrBuilder(int index)
public SourceObjectOrBuilder getObjectsOrBuilder(int index)
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getObjectsOrBuilderList()
public List<? extends SourceObjectOrBuilder> getObjectsOrBuilderList()
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.datastream.v1.SourceObjectOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SourceCatalog other)
public SourceCatalog.Builder mergeFrom(SourceCatalog other)
public SourceCatalog.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SourceCatalog.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeObjects(int index)
public SourceCatalog.Builder removeObjects(int index)
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
setObjects(int index, SourceObject value)
public SourceCatalog.Builder setObjects(int index, SourceObject value)
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];
setObjects(int index, SourceObject.Builder builderForValue)
public SourceCatalog.Builder setObjects(int index, SourceObject.Builder builderForValue)
Optional. Source objects in the catalog.
repeated .google.cloud.datastream.v1.SourceObject objects = 1 [(.google.api.field_behavior) = OPTIONAL];