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

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

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

        public GenerateRandomBytesResponse 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<GenerateRandomBytesResponse.Builder>
      • mergeFrom

        public GenerateRandomBytesResponse.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<GenerateRandomBytesResponse.Builder>
        Throws:
        IOException
      • setData

        public GenerateRandomBytesResponse.Builder setData​(com.google.protobuf.ByteString value)
         The generated data.
         
        bytes data = 1;
        Parameters:
        value - The data to set.
        Returns:
        This builder for chaining.
      • hasDataCrc32C

        public boolean hasDataCrc32C()
         Integrity verification field. A CRC32C checksum of the returned
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
         An integrity check of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         can be performed by computing the CRC32C checksum of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         and comparing your results to this field. Discard the response in case of
         non-matching checksum values, and perform a limited number of retries. A
         persistent mismatch may indicate an issue in your computation of the CRC32C
         checksum. Note: This field is defined as int64 for reasons of compatibility
         across different languages. However, it is a non-negative integer, which
         will never exceed 2^32-1, and can be safely downconverted to uint32 in
         languages that support this type.
         
        .google.protobuf.Int64Value data_crc32c = 3;
        Specified by:
        hasDataCrc32C in interface GenerateRandomBytesResponseOrBuilder
        Returns:
        Whether the dataCrc32c field is set.
      • getDataCrc32C

        public com.google.protobuf.Int64Value getDataCrc32C()
         Integrity verification field. A CRC32C checksum of the returned
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
         An integrity check of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         can be performed by computing the CRC32C checksum of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         and comparing your results to this field. Discard the response in case of
         non-matching checksum values, and perform a limited number of retries. A
         persistent mismatch may indicate an issue in your computation of the CRC32C
         checksum. Note: This field is defined as int64 for reasons of compatibility
         across different languages. However, it is a non-negative integer, which
         will never exceed 2^32-1, and can be safely downconverted to uint32 in
         languages that support this type.
         
        .google.protobuf.Int64Value data_crc32c = 3;
        Specified by:
        getDataCrc32C in interface GenerateRandomBytesResponseOrBuilder
        Returns:
        The dataCrc32c.
      • setDataCrc32C

        public GenerateRandomBytesResponse.Builder setDataCrc32C​(com.google.protobuf.Int64Value value)
         Integrity verification field. A CRC32C checksum of the returned
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
         An integrity check of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         can be performed by computing the CRC32C checksum of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         and comparing your results to this field. Discard the response in case of
         non-matching checksum values, and perform a limited number of retries. A
         persistent mismatch may indicate an issue in your computation of the CRC32C
         checksum. Note: This field is defined as int64 for reasons of compatibility
         across different languages. However, it is a non-negative integer, which
         will never exceed 2^32-1, and can be safely downconverted to uint32 in
         languages that support this type.
         
        .google.protobuf.Int64Value data_crc32c = 3;
      • setDataCrc32C

        public GenerateRandomBytesResponse.Builder setDataCrc32C​(com.google.protobuf.Int64Value.Builder builderForValue)
         Integrity verification field. A CRC32C checksum of the returned
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
         An integrity check of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         can be performed by computing the CRC32C checksum of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         and comparing your results to this field. Discard the response in case of
         non-matching checksum values, and perform a limited number of retries. A
         persistent mismatch may indicate an issue in your computation of the CRC32C
         checksum. Note: This field is defined as int64 for reasons of compatibility
         across different languages. However, it is a non-negative integer, which
         will never exceed 2^32-1, and can be safely downconverted to uint32 in
         languages that support this type.
         
        .google.protobuf.Int64Value data_crc32c = 3;
      • mergeDataCrc32C

        public GenerateRandomBytesResponse.Builder mergeDataCrc32C​(com.google.protobuf.Int64Value value)
         Integrity verification field. A CRC32C checksum of the returned
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
         An integrity check of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         can be performed by computing the CRC32C checksum of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         and comparing your results to this field. Discard the response in case of
         non-matching checksum values, and perform a limited number of retries. A
         persistent mismatch may indicate an issue in your computation of the CRC32C
         checksum. Note: This field is defined as int64 for reasons of compatibility
         across different languages. However, it is a non-negative integer, which
         will never exceed 2^32-1, and can be safely downconverted to uint32 in
         languages that support this type.
         
        .google.protobuf.Int64Value data_crc32c = 3;
      • clearDataCrc32C

        public GenerateRandomBytesResponse.Builder clearDataCrc32C()
         Integrity verification field. A CRC32C checksum of the returned
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
         An integrity check of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         can be performed by computing the CRC32C checksum of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         and comparing your results to this field. Discard the response in case of
         non-matching checksum values, and perform a limited number of retries. A
         persistent mismatch may indicate an issue in your computation of the CRC32C
         checksum. Note: This field is defined as int64 for reasons of compatibility
         across different languages. However, it is a non-negative integer, which
         will never exceed 2^32-1, and can be safely downconverted to uint32 in
         languages that support this type.
         
        .google.protobuf.Int64Value data_crc32c = 3;
      • getDataCrc32CBuilder

        public com.google.protobuf.Int64Value.Builder getDataCrc32CBuilder()
         Integrity verification field. A CRC32C checksum of the returned
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
         An integrity check of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         can be performed by computing the CRC32C checksum of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         and comparing your results to this field. Discard the response in case of
         non-matching checksum values, and perform a limited number of retries. A
         persistent mismatch may indicate an issue in your computation of the CRC32C
         checksum. Note: This field is defined as int64 for reasons of compatibility
         across different languages. However, it is a non-negative integer, which
         will never exceed 2^32-1, and can be safely downconverted to uint32 in
         languages that support this type.
         
        .google.protobuf.Int64Value data_crc32c = 3;
      • getDataCrc32COrBuilder

        public com.google.protobuf.Int64ValueOrBuilder getDataCrc32COrBuilder()
         Integrity verification field. A CRC32C checksum of the returned
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data].
         An integrity check of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         can be performed by computing the CRC32C checksum of
         [GenerateRandomBytesResponse.data][google.cloud.kms.v1.GenerateRandomBytesResponse.data]
         and comparing your results to this field. Discard the response in case of
         non-matching checksum values, and perform a limited number of retries. A
         persistent mismatch may indicate an issue in your computation of the CRC32C
         checksum. Note: This field is defined as int64 for reasons of compatibility
         across different languages. However, it is a non-negative integer, which
         will never exceed 2^32-1, and can be safely downconverted to uint32 in
         languages that support this type.
         
        .google.protobuf.Int64Value data_crc32c = 3;
        Specified by:
        getDataCrc32COrBuilder in interface GenerateRandomBytesResponseOrBuilder
      • mergeUnknownFields

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