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

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

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

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

        public ListEkmConnectionsResponse.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<ListEkmConnectionsResponse.Builder>
        Throws:
        IOException
      • setEkmConnections

        public ListEkmConnectionsResponse.Builder setEkmConnections​(int index,
                                                                    EkmConnection value)
         The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
         
        repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
      • addEkmConnections

        public ListEkmConnectionsResponse.Builder addEkmConnections​(EkmConnection value)
         The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
         
        repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
      • addEkmConnections

        public ListEkmConnectionsResponse.Builder addEkmConnections​(int index,
                                                                    EkmConnection value)
         The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
         
        repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
      • clearEkmConnections

        public ListEkmConnectionsResponse.Builder clearEkmConnections()
         The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
         
        repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
      • removeEkmConnections

        public ListEkmConnectionsResponse.Builder removeEkmConnections​(int index)
         The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
         
        repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
      • getEkmConnectionsBuilder

        public EkmConnection.Builder getEkmConnectionsBuilder​(int index)
         The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
         
        repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
      • addEkmConnectionsBuilder

        public EkmConnection.Builder addEkmConnectionsBuilder()
         The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
         
        repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
      • addEkmConnectionsBuilder

        public EkmConnection.Builder addEkmConnectionsBuilder​(int index)
         The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
         
        repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
      • getEkmConnectionsBuilderList

        public List<EkmConnection.Builder> getEkmConnectionsBuilderList()
         The list of [EkmConnections][google.cloud.kms.v1.EkmConnection].
         
        repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
      • getNextPageToken

        public String getNextPageToken()
         A token to retrieve next page of results. Pass this value in
         [ListEkmConnectionsRequest.page_token][google.cloud.kms.v1.ListEkmConnectionsRequest.page_token]
         to retrieve the next page of results.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListEkmConnectionsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         A token to retrieve next page of results. Pass this value in
         [ListEkmConnectionsRequest.page_token][google.cloud.kms.v1.ListEkmConnectionsRequest.page_token]
         to retrieve the next page of results.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListEkmConnectionsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListEkmConnectionsResponse.Builder setNextPageToken​(String value)
         A token to retrieve next page of results. Pass this value in
         [ListEkmConnectionsRequest.page_token][google.cloud.kms.v1.ListEkmConnectionsRequest.page_token]
         to retrieve the next page of results.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListEkmConnectionsResponse.Builder clearNextPageToken()
         A token to retrieve next page of results. Pass this value in
         [ListEkmConnectionsRequest.page_token][google.cloud.kms.v1.ListEkmConnectionsRequest.page_token]
         to retrieve the next page of results.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListEkmConnectionsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         A token to retrieve next page of results. Pass this value in
         [ListEkmConnectionsRequest.page_token][google.cloud.kms.v1.ListEkmConnectionsRequest.page_token]
         to retrieve the next page of results.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • getTotalSize

        public int getTotalSize()
         The total number of [EkmConnections][google.cloud.kms.v1.EkmConnection]
         that matched the query.
         
        int32 total_size = 3;
        Specified by:
        getTotalSize in interface ListEkmConnectionsResponseOrBuilder
        Returns:
        The totalSize.
      • setTotalSize

        public ListEkmConnectionsResponse.Builder setTotalSize​(int value)
         The total number of [EkmConnections][google.cloud.kms.v1.EkmConnection]
         that matched the query.
         
        int32 total_size = 3;
        Parameters:
        value - The totalSize to set.
        Returns:
        This builder for chaining.
      • clearTotalSize

        public ListEkmConnectionsResponse.Builder clearTotalSize()
         The total number of [EkmConnections][google.cloud.kms.v1.EkmConnection]
         that matched the query.
         
        int32 total_size = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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