Class UpdateViewRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
      • clear

        public UpdateViewRequest.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.GeneratedMessageV3.Builder<UpdateViewRequest.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.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public UpdateViewRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
      • setField

        public UpdateViewRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
      • clearField

        public UpdateViewRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
      • clearOneof

        public UpdateViewRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
      • setRepeatedField

        public UpdateViewRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
      • addRepeatedField

        public UpdateViewRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
      • mergeFrom

        public UpdateViewRequest.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<UpdateViewRequest.Builder>
      • isInitialized

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

        public UpdateViewRequest.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<UpdateViewRequest.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Required. The full resource name of the view to update
        
             "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
        
         For example:
        
           `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getName in interface UpdateViewRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The full resource name of the view to update
        
             "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
        
         For example:
        
           `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNameBytes in interface UpdateViewRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public UpdateViewRequest.Builder setName​(String value)
         Required. The full resource name of the view to update
        
             "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
        
         For example:
        
           `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public UpdateViewRequest.Builder clearName()
         Required. The full resource name of the view to update
        
             "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
        
         For example:
        
           `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setNameBytes

        public UpdateViewRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The full resource name of the view to update
        
             "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
        
         For example:
        
           `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasView

        public boolean hasView()
         Required. The updated view.
         
        .google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasView in interface UpdateViewRequestOrBuilder
        Returns:
        Whether the view field is set.
      • getView

        public LogView getView()
         Required. The updated view.
         
        .google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getView in interface UpdateViewRequestOrBuilder
        Returns:
        The view.
      • setView

        public UpdateViewRequest.Builder setView​(LogView value)
         Required. The updated view.
         
        .google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeView

        public UpdateViewRequest.Builder mergeView​(LogView value)
         Required. The updated view.
         
        .google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearView

        public UpdateViewRequest.Builder clearView()
         Required. The updated view.
         
        .google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
      • getViewBuilder

        public LogView.Builder getViewBuilder()
         Required. The updated view.
         
        .google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
      • hasUpdateMask

        public boolean hasUpdateMask()
         Optional. Field mask that specifies the fields in `view` that need
         an update. A field will be overwritten if, and only if, it is
         in the update mask. `name` and output only fields cannot be updated.
        
         For a detailed `FieldMask` definition, see
         https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
        
         For example: `updateMask=filter`
         
        .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasUpdateMask in interface UpdateViewRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Optional. Field mask that specifies the fields in `view` that need
         an update. A field will be overwritten if, and only if, it is
         in the update mask. `name` and output only fields cannot be updated.
        
         For a detailed `FieldMask` definition, see
         https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
        
         For example: `updateMask=filter`
         
        .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getUpdateMask in interface UpdateViewRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateViewRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Optional. Field mask that specifies the fields in `view` that need
         an update. A field will be overwritten if, and only if, it is
         in the update mask. `name` and output only fields cannot be updated.
        
         For a detailed `FieldMask` definition, see
         https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
        
         For example: `updateMask=filter`
         
        .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
      • setUpdateMask

        public UpdateViewRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Optional. Field mask that specifies the fields in `view` that need
         an update. A field will be overwritten if, and only if, it is
         in the update mask. `name` and output only fields cannot be updated.
        
         For a detailed `FieldMask` definition, see
         https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
        
         For example: `updateMask=filter`
         
        .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
      • mergeUpdateMask

        public UpdateViewRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Optional. Field mask that specifies the fields in `view` that need
         an update. A field will be overwritten if, and only if, it is
         in the update mask. `name` and output only fields cannot be updated.
        
         For a detailed `FieldMask` definition, see
         https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
        
         For example: `updateMask=filter`
         
        .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
      • clearUpdateMask

        public UpdateViewRequest.Builder clearUpdateMask()
         Optional. Field mask that specifies the fields in `view` that need
         an update. A field will be overwritten if, and only if, it is
         in the update mask. `name` and output only fields cannot be updated.
        
         For a detailed `FieldMask` definition, see
         https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
        
         For example: `updateMask=filter`
         
        .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Optional. Field mask that specifies the fields in `view` that need
         an update. A field will be overwritten if, and only if, it is
         in the update mask. `name` and output only fields cannot be updated.
        
         For a detailed `FieldMask` definition, see
         https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
        
         For example: `updateMask=filter`
         
        .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Optional. Field mask that specifies the fields in `view` that need
         an update. A field will be overwritten if, and only if, it is
         in the update mask. `name` and output only fields cannot be updated.
        
         For a detailed `FieldMask` definition, see
         https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
        
         For example: `updateMask=filter`
         
        .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateViewRequestOrBuilder
      • setUnknownFields

        public final UpdateViewRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>
      • mergeUnknownFields

        public final UpdateViewRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateViewRequest.Builder>