Class QueryOrgVpcFlowLogsConfigsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QueryOrgVpcFlowLogsConfigsResponse.Builder>
com.google.cloud.networkmanagement.v1beta1.QueryOrgVpcFlowLogsConfigsResponse.Builder
All Implemented Interfaces:
QueryOrgVpcFlowLogsConfigsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
QueryOrgVpcFlowLogsConfigsResponse

public static final class QueryOrgVpcFlowLogsConfigsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<QueryOrgVpcFlowLogsConfigsResponse.Builder> implements QueryOrgVpcFlowLogsConfigsResponseOrBuilder
 Response for the `QueryVpcFlowLogsConfigs` method.
 
Protobuf type google.cloud.networkmanagement.v1beta1.QueryOrgVpcFlowLogsConfigsResponse
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<QueryOrgVpcFlowLogsConfigsResponse.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.GeneratedMessage.Builder<QueryOrgVpcFlowLogsConfigsResponse.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.GeneratedMessage.Builder<QueryOrgVpcFlowLogsConfigsResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public QueryOrgVpcFlowLogsConfigsResponse.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<QueryOrgVpcFlowLogsConfigsResponse.Builder>
      Throws:
      IOException
    • getVpcFlowLogsConfigsList

      public List<VpcFlowLogsConfig> getVpcFlowLogsConfigsList()
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
      Specified by:
      getVpcFlowLogsConfigsList in interface QueryOrgVpcFlowLogsConfigsResponseOrBuilder
    • getVpcFlowLogsConfigsCount

      public int getVpcFlowLogsConfigsCount()
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
      Specified by:
      getVpcFlowLogsConfigsCount in interface QueryOrgVpcFlowLogsConfigsResponseOrBuilder
    • getVpcFlowLogsConfigs

      public VpcFlowLogsConfig getVpcFlowLogsConfigs(int index)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
      Specified by:
      getVpcFlowLogsConfigs in interface QueryOrgVpcFlowLogsConfigsResponseOrBuilder
    • setVpcFlowLogsConfigs

      public QueryOrgVpcFlowLogsConfigsResponse.Builder setVpcFlowLogsConfigs(int index, VpcFlowLogsConfig value)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • setVpcFlowLogsConfigs

      public QueryOrgVpcFlowLogsConfigsResponse.Builder setVpcFlowLogsConfigs(int index, VpcFlowLogsConfig.Builder builderForValue)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • addVpcFlowLogsConfigs

      public QueryOrgVpcFlowLogsConfigsResponse.Builder addVpcFlowLogsConfigs(VpcFlowLogsConfig value)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • addVpcFlowLogsConfigs

      public QueryOrgVpcFlowLogsConfigsResponse.Builder addVpcFlowLogsConfigs(int index, VpcFlowLogsConfig value)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • addVpcFlowLogsConfigs

      public QueryOrgVpcFlowLogsConfigsResponse.Builder addVpcFlowLogsConfigs(VpcFlowLogsConfig.Builder builderForValue)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • addVpcFlowLogsConfigs

      public QueryOrgVpcFlowLogsConfigsResponse.Builder addVpcFlowLogsConfigs(int index, VpcFlowLogsConfig.Builder builderForValue)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • addAllVpcFlowLogsConfigs

      public QueryOrgVpcFlowLogsConfigsResponse.Builder addAllVpcFlowLogsConfigs(Iterable<? extends VpcFlowLogsConfig> values)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • clearVpcFlowLogsConfigs

      public QueryOrgVpcFlowLogsConfigsResponse.Builder clearVpcFlowLogsConfigs()
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • removeVpcFlowLogsConfigs

      public QueryOrgVpcFlowLogsConfigsResponse.Builder removeVpcFlowLogsConfigs(int index)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • getVpcFlowLogsConfigsBuilder

      public VpcFlowLogsConfig.Builder getVpcFlowLogsConfigsBuilder(int index)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • getVpcFlowLogsConfigsOrBuilder

      public VpcFlowLogsConfigOrBuilder getVpcFlowLogsConfigsOrBuilder(int index)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
      Specified by:
      getVpcFlowLogsConfigsOrBuilder in interface QueryOrgVpcFlowLogsConfigsResponseOrBuilder
    • getVpcFlowLogsConfigsOrBuilderList

      public List<? extends VpcFlowLogsConfigOrBuilder> getVpcFlowLogsConfigsOrBuilderList()
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
      Specified by:
      getVpcFlowLogsConfigsOrBuilderList in interface QueryOrgVpcFlowLogsConfigsResponseOrBuilder
    • addVpcFlowLogsConfigsBuilder

      public VpcFlowLogsConfig.Builder addVpcFlowLogsConfigsBuilder()
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • addVpcFlowLogsConfigsBuilder

      public VpcFlowLogsConfig.Builder addVpcFlowLogsConfigsBuilder(int index)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • getVpcFlowLogsConfigsBuilderList

      public List<VpcFlowLogsConfig.Builder> getVpcFlowLogsConfigsBuilderList()
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • getNextPageToken

      public String getNextPageToken()
       Page token to fetch the next set of configurations.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface QueryOrgVpcFlowLogsConfigsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Page token to fetch the next set of configurations.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface QueryOrgVpcFlowLogsConfigsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public QueryOrgVpcFlowLogsConfigsResponse.Builder setNextPageToken(String value)
       Page token to fetch the next set of configurations.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public QueryOrgVpcFlowLogsConfigsResponse.Builder clearNextPageToken()
       Page token to fetch the next set of configurations.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public QueryOrgVpcFlowLogsConfigsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Page token to fetch the next set of configurations.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface QueryOrgVpcFlowLogsConfigsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface QueryOrgVpcFlowLogsConfigsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface QueryOrgVpcFlowLogsConfigsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface QueryOrgVpcFlowLogsConfigsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public QueryOrgVpcFlowLogsConfigsResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public QueryOrgVpcFlowLogsConfigsResponse.Builder addUnreachable(String value)
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public QueryOrgVpcFlowLogsConfigsResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public QueryOrgVpcFlowLogsConfigsResponse.Builder clearUnreachable()
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public QueryOrgVpcFlowLogsConfigsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.