creates a set of {@link denominator.model.rdata.AData A} records for the specified name.

@param name      ex. {@code www.denominator.io.}
@param addresses address values ex. {@code [192.0.2.1, 192.0.2.2]}
515959
public static ResourceRecordSet<AData> a(String name, Collection<String> addresses) {
    return new ABuilder().name(name).addAll(addresses).build();
  }
1278914
protected AddressResolver<InetSocketAddress> newAddressResolver(EventLoop eventLoop,
                                                                    NameResolver<InetAddress> resolver)
            throws Exception {
        return new InetSocketAddressResolver(eventLoop, resolver);
    }
1342774
public Iterable<DContact> queryByAddress2(Object parent, java.lang.String address2) {
    return queryByField(parent, DContactMapper.Field.ADDRESS2.getFieldName(), address2);
  }
706541
@SuppressWarnings("rawtypes")
    private List<InetAddress> resolve(String hostname, String attrName) throws NamingException, UnknownHostException {

        Attributes attrs = context.getAttributes(hostname, new String[] { attrName });

        List<InetAddress> inetAddresses = new ArrayList<>();
        Attribute attr = attrs.get(attrName);

        if (attr != null && attr.size() > 0) {
            NamingEnumeration e = attr.getAll();

            while (e.hasMore()) {
                InetAddress inetAddress = InetAddress.getByName("" + e.next());
                inetAddresses.add(InetAddress.getByAddress(hostname, inetAddress.getAddress()));
            }
        }

        return inetAddresses;
    }
312613
public void setSocketAddr(String name, InetSocketAddress addr) {
		set(name, NetUtils.getHostPortString(addr));
	}
796094
public UrlStringBuilder addParameter(String name, String... values) {
        this.addParameter(name, values != null ? Arrays.asList(values) : null);
        return this;
    }
114128
public static MappedAddressAttribute createMappedAddressAttribute(
			TransportAddress address) {
		MappedAddressAttribute attribute = new MappedAddressAttribute();

		attribute.setAddress(address);

		return attribute;
	}
769048
public void setToAddresses(java.util.Collection<String> toAddresses) {
        if (toAddresses == null) {
            this.toAddresses = null;
            return;
        }

        this.toAddresses = new java.util.ArrayList<String>(toAddresses);
    }
1298120
public static ResourceRecordSet<CNAMEData> cname(String name, String cname) {
    return new CNAMEBuilder().name(name).add(cname).build();
  }
1120220
public static AddressInfo of(String region, String name) {
    return of(RegionAddressId.of(region, name));
  }
584604
public void setCcAddresses(java.util.Collection<String> ccAddresses) {
        if (ccAddresses == null) {
            this.ccAddresses = null;
            return;
        }

        this.ccAddresses = new java.util.ArrayList<String>(ccAddresses);
    }
735090
public static ManagedChannelBuilder<?> forAddress(String name, int port) {
    return ManagedChannelProvider.provider().builderForAddress(name, port);
  }
328902
public DistributedWorkManagerStatisticsValues localGetDistributedStatistics(Address address)
   {
      if (trace)
         log.tracef("LOCAL_GET_DISTRIBUTED_STATISTICS(%s)", address);

      DistributedWorkManager dwm = workManagerCoordinator.resolveDistributedWorkManager(address);

      if (dwm != null)
      {
         DistributedWorkManagerStatisticsValues values =
            new DistributedWorkManagerStatisticsValues(dwm.getDistributedStatistics().getWorkSuccessful(),
                                                       dwm.getDistributedStatistics().getWorkFailed(),
                                                       dwm.getDistributedStatistics().getDoWorkAccepted(),
                                                       dwm.getDistributedStatistics().getDoWorkRejected(),
                                                       dwm.getDistributedStatistics().getScheduleWorkAccepted(),
                                                       dwm.getDistributedStatistics().getScheduleWorkRejected(),
                                                       dwm.getDistributedStatistics().getStartWorkAccepted(),
                                                       dwm.getDistributedStatistics().getStartWorkRejected());

         return values;
      }

      return null;
   }
293816
public static Predicate<InetAddress> ofExact(String address) {
        requireNonNull(address, "address");
        try {
            final InetAddress inetAddress = InetAddress.getByName(address);
            return ofExact(inetAddress);
        } catch (UnknownHostException e) {
            throw new IllegalArgumentException("Invalid address: " + address, e);
        }
    }
6545
public static ModelNode createUndefineAttributeOperation(PathAddress address, String name) {
        return createAttributeOperation(ModelDescriptionConstants.UNDEFINE_ATTRIBUTE_OPERATION, address, name);
    }
876596
public static ChangedAddressAttribute createChangedAddressAttribute(
			TransportAddress address) {
		ChangedAddressAttribute attribute = new ChangedAddressAttribute();

		attribute.setAddress(address);

		return attribute;
	}
279512
private static void insertAddressUsingCallable(AddressClient client, String newAddressName)
      throws InterruptedException, ExecutionException {
    // Begin samplegen code for insertAddress().
    ProjectRegionName region = ProjectRegionName.of(PROJECT_NAME, REGION);
    Address address = Address.newBuilder().build();
    InsertAddressHttpRequest request =
        InsertAddressHttpRequest.newBuilder()
            .setRegion(region.toString())
            .setAddressResource(address)
            .build();
    ApiFuture<Operation> future = client.insertAddressCallable().futureCall(request);
    // Do something
    Operation response = future.get();

    // End samplegen code for insertAddress().
    System.out.format("Result of insert: %s\n", response.toString());
  }