public static final class FeedSourceTypeSchema.Builder extends GeneratedMessage.Builder<FeedSourceTypeSchema.Builder> implements FeedSourceTypeSchemaOrBuilderMetadata that pertains to feed source types (see Feed.FeedDetails.FeedSourceType) that is useful for building interfaces to construct valid Feed messages.
Protobuf type google.cloud.chronicle.v1.FeedSourceTypeSchema
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FeedSourceTypeSchema.BuilderImplements
FeedSourceTypeSchemaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FeedSourceTypeSchema build()| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema |
|
buildPartial()
public FeedSourceTypeSchema buildPartial()| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema |
|
clear()
public FeedSourceTypeSchema.Builder clear()| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
|
clearDescription()
public FeedSourceTypeSchema.Builder clearDescription()A human-readable description for this feed source type.
string description = 3;
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
This builder for chaining. |
clearDisplayName()
public FeedSourceTypeSchema.Builder clearDisplayName()A human-readable name for this feed source type.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
This builder for chaining. |
clearFeedSourceType()
public FeedSourceTypeSchema.Builder clearFeedSourceType() The value to be used in the details.feed_source_type field in the Feed
message.
.google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 5;
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
This builder for chaining. |
clearName()
public FeedSourceTypeSchema.Builder clearName()The resource name for this FeedSourceTypeSchema. Format: "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}".
string name = 1;
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
This builder for chaining. |
clearReadOnly()
public FeedSourceTypeSchema.Builder clearReadOnly()Whether feeds having this source type, while they are expected to exist, should not be modified (created, edited, or deleted).
bool read_only = 4;
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FeedSourceTypeSchema getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema |
|
getDescription()
public String getDescription()A human-readable description for this feed source type.
string description = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()A human-readable description for this feed source type.
string description = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()A human-readable name for this feed source type.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()A human-readable name for this feed source type.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getFeedSourceType()
public FeedDetails.FeedSourceType getFeedSourceType() The value to be used in the details.feed_source_type field in the Feed
message.
.google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 5;
| Returns | |
|---|---|
| Type | Description |
FeedDetails.FeedSourceType |
The feedSourceType. |
getFeedSourceTypeValue()
public int getFeedSourceTypeValue() The value to be used in the details.feed_source_type field in the Feed
message.
.google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for feedSourceType. |
getName()
public String getName()The resource name for this FeedSourceTypeSchema. Format: "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}".
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The resource name for this FeedSourceTypeSchema. Format: "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}".
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getReadOnly()
public boolean getReadOnly()Whether feeds having this source type, while they are expected to exist, should not be modified (created, edited, or deleted).
bool read_only = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
The readOnly. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FeedSourceTypeSchema other)
public FeedSourceTypeSchema.Builder mergeFrom(FeedSourceTypeSchema other)| Parameter | |
|---|---|
| Name | Description |
other |
FeedSourceTypeSchema |
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FeedSourceTypeSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FeedSourceTypeSchema.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
|
setDescription(String value)
public FeedSourceTypeSchema.Builder setDescription(String value)A human-readable description for this feed source type.
string description = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public FeedSourceTypeSchema.Builder setDescriptionBytes(ByteString value)A human-readable description for this feed source type.
string description = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
This builder for chaining. |
setDisplayName(String value)
public FeedSourceTypeSchema.Builder setDisplayName(String value)A human-readable name for this feed source type.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public FeedSourceTypeSchema.Builder setDisplayNameBytes(ByteString value)A human-readable name for this feed source type.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
This builder for chaining. |
setFeedSourceType(FeedDetails.FeedSourceType value)
public FeedSourceTypeSchema.Builder setFeedSourceType(FeedDetails.FeedSourceType value) The value to be used in the details.feed_source_type field in the Feed
message.
.google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
FeedDetails.FeedSourceTypeThe feedSourceType to set. |
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
This builder for chaining. |
setFeedSourceTypeValue(int value)
public FeedSourceTypeSchema.Builder setFeedSourceTypeValue(int value) The value to be used in the details.feed_source_type field in the Feed
message.
.google.cloud.chronicle.v1.FeedDetails.FeedSourceType feed_source_type = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for feedSourceType to set. |
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
This builder for chaining. |
setName(String value)
public FeedSourceTypeSchema.Builder setName(String value)The resource name for this FeedSourceTypeSchema. Format: "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}".
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FeedSourceTypeSchema.Builder setNameBytes(ByteString value)The resource name for this FeedSourceTypeSchema. Format: "projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}".
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
This builder for chaining. |
setReadOnly(boolean value)
public FeedSourceTypeSchema.Builder setReadOnly(boolean value)Whether feeds having this source type, while they are expected to exist, should not be modified (created, edited, or deleted).
bool read_only = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe readOnly to set. |
| Returns | |
|---|---|
| Type | Description |
FeedSourceTypeSchema.Builder |
This builder for chaining. |