Class CreateOfflineProfileRequest.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<CreateOfflineProfileRequest.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<CreateOfflineProfileRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public CreateOfflineProfileRequest.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<CreateOfflineProfileRequest.Builder>
        Throws:
        IOException
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Parent project to create the profile in.
         
        string parent = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateOfflineProfileRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateOfflineProfileRequest.Builder setParent​(String value)
         Parent project to create the profile in.
         
        string parent = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public CreateOfflineProfileRequest.Builder clearParent()
         Parent project to create the profile in.
         
        string parent = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateOfflineProfileRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Parent project to create the profile in.
         
        string parent = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • hasProfile

        public boolean hasProfile()
         Contents of the profile to create.
         
        .google.devtools.cloudprofiler.v2.Profile profile = 2;
        Specified by:
        hasProfile in interface CreateOfflineProfileRequestOrBuilder
        Returns:
        Whether the profile field is set.
      • getProfileBuilder

        public Profile.Builder getProfileBuilder()
         Contents of the profile to create.
         
        .google.devtools.cloudprofiler.v2.Profile profile = 2;
      • mergeUnknownFields

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