public Topic build() { return new Topic( name, description, owner, retentionTime, migratedFromJsonType, ack, trackingEnabled, contentType, jsonToAvroDryRunEnabled, schemaVersionAwareSerialization, maxMessageSize, new PublishingAuth(publishers, authEnabled, unauthenticatedAccessEnabled), subscribingRestricted, offlineStorage ); }
public Topic build() { return new Topic( name, description, owner, retentionTime, migratedFromJsonType, ack, trackingEnabled, contentType, jsonToAvroDryRunEnabled, schemaVersionAwareSerialization, maxMessageSize, new PublishingAuth(publishers, authEnabled, unauthenticatedAccessEnabled), subscribingRestricted, offlineStorage ); }
private Topic convertToTopic() { return new Topic(this.getQualifiedName(), this.getDescription(), this.getOwner(), this.getRetentionTime(), this.isJsonToAvroDryRunEnabled(), this.getAck(), this.isTrackingEnabled(), this.wasMigratedFromJsonType(), this.isSchemaVersionAwareSerializationEnabled(), this.getContentType(), this.getMaxMessageSize(), this.getPublishingAuth(), this.isSubscribingRestricted(), this.getOfflineStorage()); }