Class CopyLogEntriesMetadata.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<CopyLogEntriesMetadata.Builder>
      • clear

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

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

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

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

        public CopyLogEntriesMetadata.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<CopyLogEntriesMetadata.Builder>
      • clearField

        public CopyLogEntriesMetadata.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<CopyLogEntriesMetadata.Builder>
      • clearOneof

        public CopyLogEntriesMetadata.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<CopyLogEntriesMetadata.Builder>
      • setRepeatedField

        public CopyLogEntriesMetadata.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<CopyLogEntriesMetadata.Builder>
      • addRepeatedField

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

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

        public CopyLogEntriesMetadata.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<CopyLogEntriesMetadata.Builder>
        Throws:
        IOException
      • hasStartTime

        public boolean hasStartTime()
         The create time of an operation.
         
        .google.protobuf.Timestamp start_time = 1;
        Specified by:
        hasStartTime in interface CopyLogEntriesMetadataOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public com.google.protobuf.Timestamp getStartTime()
         The create time of an operation.
         
        .google.protobuf.Timestamp start_time = 1;
        Specified by:
        getStartTime in interface CopyLogEntriesMetadataOrBuilder
        Returns:
        The startTime.
      • setStartTime

        public CopyLogEntriesMetadata.Builder setStartTime​(com.google.protobuf.Timestamp value)
         The create time of an operation.
         
        .google.protobuf.Timestamp start_time = 1;
      • setStartTime

        public CopyLogEntriesMetadata.Builder setStartTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The create time of an operation.
         
        .google.protobuf.Timestamp start_time = 1;
      • mergeStartTime

        public CopyLogEntriesMetadata.Builder mergeStartTime​(com.google.protobuf.Timestamp value)
         The create time of an operation.
         
        .google.protobuf.Timestamp start_time = 1;
      • getStartTimeBuilder

        public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
         The create time of an operation.
         
        .google.protobuf.Timestamp start_time = 1;
      • hasEndTime

        public boolean hasEndTime()
         The end time of an operation.
         
        .google.protobuf.Timestamp end_time = 2;
        Specified by:
        hasEndTime in interface CopyLogEntriesMetadataOrBuilder
        Returns:
        Whether the endTime field is set.
      • getEndTime

        public com.google.protobuf.Timestamp getEndTime()
         The end time of an operation.
         
        .google.protobuf.Timestamp end_time = 2;
        Specified by:
        getEndTime in interface CopyLogEntriesMetadataOrBuilder
        Returns:
        The endTime.
      • setEndTime

        public CopyLogEntriesMetadata.Builder setEndTime​(com.google.protobuf.Timestamp value)
         The end time of an operation.
         
        .google.protobuf.Timestamp end_time = 2;
      • setEndTime

        public CopyLogEntriesMetadata.Builder setEndTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The end time of an operation.
         
        .google.protobuf.Timestamp end_time = 2;
      • mergeEndTime

        public CopyLogEntriesMetadata.Builder mergeEndTime​(com.google.protobuf.Timestamp value)
         The end time of an operation.
         
        .google.protobuf.Timestamp end_time = 2;
      • getEndTimeBuilder

        public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
         The end time of an operation.
         
        .google.protobuf.Timestamp end_time = 2;
      • getStateValue

        public int getStateValue()
         State of an operation.
         
        .google.logging.v2.OperationState state = 3;
        Specified by:
        getStateValue in interface CopyLogEntriesMetadataOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public CopyLogEntriesMetadata.Builder setStateValue​(int value)
         State of an operation.
         
        .google.logging.v2.OperationState state = 3;
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • setState

        public CopyLogEntriesMetadata.Builder setState​(OperationState value)
         State of an operation.
         
        .google.logging.v2.OperationState state = 3;
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public CopyLogEntriesMetadata.Builder clearState()
         State of an operation.
         
        .google.logging.v2.OperationState state = 3;
        Returns:
        This builder for chaining.
      • getCancellationRequested

        public boolean getCancellationRequested()
         Identifies whether the user has requested cancellation of the operation.
         
        bool cancellation_requested = 4;
        Specified by:
        getCancellationRequested in interface CopyLogEntriesMetadataOrBuilder
        Returns:
        The cancellationRequested.
      • setCancellationRequested

        public CopyLogEntriesMetadata.Builder setCancellationRequested​(boolean value)
         Identifies whether the user has requested cancellation of the operation.
         
        bool cancellation_requested = 4;
        Parameters:
        value - The cancellationRequested to set.
        Returns:
        This builder for chaining.
      • clearCancellationRequested

        public CopyLogEntriesMetadata.Builder clearCancellationRequested()
         Identifies whether the user has requested cancellation of the operation.
         
        bool cancellation_requested = 4;
        Returns:
        This builder for chaining.
      • hasRequest

        public boolean hasRequest()
         CopyLogEntries RPC request.
         
        .google.logging.v2.CopyLogEntriesRequest request = 5;
        Specified by:
        hasRequest in interface CopyLogEntriesMetadataOrBuilder
        Returns:
        Whether the request field is set.
      • clearRequest

        public CopyLogEntriesMetadata.Builder clearRequest()
         CopyLogEntries RPC request.
         
        .google.logging.v2.CopyLogEntriesRequest request = 5;
      • getRequestBuilder

        public CopyLogEntriesRequest.Builder getRequestBuilder()
         CopyLogEntries RPC request.
         
        .google.logging.v2.CopyLogEntriesRequest request = 5;
      • setProgress

        public CopyLogEntriesMetadata.Builder setProgress​(int value)
         Estimated progress of the operation (0 - 100%).
         
        int32 progress = 6;
        Parameters:
        value - The progress to set.
        Returns:
        This builder for chaining.
      • clearProgress

        public CopyLogEntriesMetadata.Builder clearProgress()
         Estimated progress of the operation (0 - 100%).
         
        int32 progress = 6;
        Returns:
        This builder for chaining.
      • getWriterIdentity

        public String getWriterIdentity()
         The IAM identity of a service account that must be granted access to the
         destination.
        
         If the service account is not granted permission to the destination within
         an hour, the operation will be cancelled.
        
         For example: `"serviceAccount:foo@bar.com"`
         
        string writer_identity = 7;
        Specified by:
        getWriterIdentity in interface CopyLogEntriesMetadataOrBuilder
        Returns:
        The writerIdentity.
      • getWriterIdentityBytes

        public com.google.protobuf.ByteString getWriterIdentityBytes()
         The IAM identity of a service account that must be granted access to the
         destination.
        
         If the service account is not granted permission to the destination within
         an hour, the operation will be cancelled.
        
         For example: `"serviceAccount:foo@bar.com"`
         
        string writer_identity = 7;
        Specified by:
        getWriterIdentityBytes in interface CopyLogEntriesMetadataOrBuilder
        Returns:
        The bytes for writerIdentity.
      • setWriterIdentity

        public CopyLogEntriesMetadata.Builder setWriterIdentity​(String value)
         The IAM identity of a service account that must be granted access to the
         destination.
        
         If the service account is not granted permission to the destination within
         an hour, the operation will be cancelled.
        
         For example: `"serviceAccount:foo@bar.com"`
         
        string writer_identity = 7;
        Parameters:
        value - The writerIdentity to set.
        Returns:
        This builder for chaining.
      • clearWriterIdentity

        public CopyLogEntriesMetadata.Builder clearWriterIdentity()
         The IAM identity of a service account that must be granted access to the
         destination.
        
         If the service account is not granted permission to the destination within
         an hour, the operation will be cancelled.
        
         For example: `"serviceAccount:foo@bar.com"`
         
        string writer_identity = 7;
        Returns:
        This builder for chaining.
      • setWriterIdentityBytes

        public CopyLogEntriesMetadata.Builder setWriterIdentityBytes​(com.google.protobuf.ByteString value)
         The IAM identity of a service account that must be granted access to the
         destination.
        
         If the service account is not granted permission to the destination within
         an hour, the operation will be cancelled.
        
         For example: `"serviceAccount:foo@bar.com"`
         
        string writer_identity = 7;
        Parameters:
        value - The bytes for writerIdentity to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final CopyLogEntriesMetadata.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<CopyLogEntriesMetadata.Builder>
      • mergeUnknownFields

        public final CopyLogEntriesMetadata.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<CopyLogEntriesMetadata.Builder>