Class View.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<View.Builder>
com.google.cloud.contactcenterinsights.v1.View.Builder
All Implemented Interfaces:
ViewOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
View

public static final class View.Builder extends com.google.protobuf.GeneratedMessage.Builder<View.Builder> implements ViewOrBuilder
 The View resource.
 
Protobuf type google.cloud.contactcenterinsights.v1.View
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Output only.
    The human-readable display name of the view.
    Immutable.
    Output only.
    String with specific view properties, must be non-empty.
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.Timestamp.Builder
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The human-readable display name of the view.
    com.google.protobuf.ByteString
    The human-readable display name of the view.
    Immutable.
    com.google.protobuf.ByteString
    Immutable.
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.Timestamp.Builder
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    String with specific view properties, must be non-empty.
    com.google.protobuf.ByteString
    String with specific view properties, must be non-empty.
    boolean
    Output only.
    boolean
    Output only.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeCreateTime(com.google.protobuf.Timestamp value)
    Output only.
    mergeFrom(View other)
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    mergeUpdateTime(com.google.protobuf.Timestamp value)
    Output only.
    setCreateTime(com.google.protobuf.Timestamp value)
    Output only.
    setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
    Output only.
    The human-readable display name of the view.
    setDisplayNameBytes(com.google.protobuf.ByteString value)
    The human-readable display name of the view.
    setName(String value)
    Immutable.
    setNameBytes(com.google.protobuf.ByteString value)
    Immutable.
    setUpdateTime(com.google.protobuf.Timestamp value)
    Output only.
    setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
    Output only.
    String with specific view properties, must be non-empty.
    setValueBytes(com.google.protobuf.ByteString value)
    String with specific view properties, must be non-empty.

    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, 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

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<View.Builder>
    • clear

      public View.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<View.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<View.Builder>
    • getDefaultInstanceForType

      public View getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public View build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public View buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public View.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<View.Builder>
    • mergeFrom

      public View.Builder mergeFrom(View other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<View.Builder>
    • mergeFrom

      public View.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<View.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Immutable. The resource name of the view.
       Format:
       projects/{project}/locations/{location}/views/{view}
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getName in interface ViewOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Immutable. The resource name of the view.
       Format:
       projects/{project}/locations/{location}/views/{view}
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getNameBytes in interface ViewOrBuilder
      Returns:
      The bytes for name.
    • setName

      public View.Builder setName(String value)
       Immutable. The resource name of the view.
       Format:
       projects/{project}/locations/{location}/views/{view}
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public View.Builder clearName()
       Immutable. The resource name of the view.
       Format:
       projects/{project}/locations/{location}/views/{view}
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setNameBytes

      public View.Builder setNameBytes(com.google.protobuf.ByteString value)
       Immutable. The resource name of the view.
       Format:
       projects/{project}/locations/{location}/views/{view}
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       The human-readable display name of the view.
       
      string display_name = 2;
      Specified by:
      getDisplayName in interface ViewOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       The human-readable display name of the view.
       
      string display_name = 2;
      Specified by:
      getDisplayNameBytes in interface ViewOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public View.Builder setDisplayName(String value)
       The human-readable display name of the view.
       
      string display_name = 2;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public View.Builder clearDisplayName()
       The human-readable display name of the view.
       
      string display_name = 2;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public View.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       The human-readable display name of the view.
       
      string display_name = 2;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time at which this view was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ViewOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time at which this view was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ViewOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public View.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which this view was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public View.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time at which this view was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public View.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which this view was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public View.Builder clearCreateTime()
       Output only. The time at which this view was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time at which this view was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time at which this view was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ViewOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The most recent time at which the view was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface ViewOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The most recent time at which the view was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ViewOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public View.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The most recent time at which the view was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public View.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The most recent time at which the view was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public View.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The most recent time at which the view was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public View.Builder clearUpdateTime()
       Output only. The most recent time at which the view was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The most recent time at which the view was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The most recent time at which the view was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ViewOrBuilder
    • getValue

      public String getValue()
       String with specific view properties, must be non-empty.
       
      string value = 5;
      Specified by:
      getValue in interface ViewOrBuilder
      Returns:
      The value.
    • getValueBytes

      public com.google.protobuf.ByteString getValueBytes()
       String with specific view properties, must be non-empty.
       
      string value = 5;
      Specified by:
      getValueBytes in interface ViewOrBuilder
      Returns:
      The bytes for value.
    • setValue

      public View.Builder setValue(String value)
       String with specific view properties, must be non-empty.
       
      string value = 5;
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public View.Builder clearValue()
       String with specific view properties, must be non-empty.
       
      string value = 5;
      Returns:
      This builder for chaining.
    • setValueBytes

      public View.Builder setValueBytes(com.google.protobuf.ByteString value)
       String with specific view properties, must be non-empty.
       
      string value = 5;
      Parameters:
      value - The bytes for value to set.
      Returns:
      This builder for chaining.