本文整理了Java中com.google.protobuf.Struct.hashCode()
方法的一些代码示例,展示了Struct.hashCode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Struct.hashCode()
方法的具体详情如下:
包路径:com.google.protobuf.Struct
类名称:Struct
方法名:hashCode
暂无
代码示例来源:origin: googleapis/google-cloud-java
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSource().hashCode();
if (hasPayload()) {
hash = (37 * hash) + PAYLOAD_FIELD_NUMBER;
hash = (53 * hash) + getPayload().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
代码示例来源:origin: googleapis/google-cloud-java
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
if (hasParameters()) {
hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getParameters().hashCode();
}
hash = (37 * hash) + LANGUAGE_CODE_FIELD_NUMBER;
hash = (53 * hash) + getLanguageCode().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
代码示例来源:origin: googleapis/google-cloud-java
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
if (hasParameters()) {
hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getParameters().hashCode();
}
hash = (37 * hash) + LANGUAGE_CODE_FIELD_NUMBER;
hash = (53 * hash) + getLanguageCode().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
代码示例来源:origin: googleapis/google-cloud-java
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSource().hashCode();
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
if (hasPayload()) {
hash = (37 * hash) + PAYLOAD_FIELD_NUMBER;
hash = (53 * hash) + getPayload().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
代码示例来源:origin: googleapis/google-cloud-java
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + LIFESPAN_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getLifespanCount();
if (hasParameters()) {
hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getParameters().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
代码示例来源:origin: googleapis/google-cloud-java
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + LIFESPAN_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getLifespanCount();
if (hasParameters()) {
hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getParameters().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
代码示例来源:origin: googleapis/google-cloud-java
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
hash = (37 * hash) + DISCOVERY_DOCUMENT_URI_FIELD_NUMBER;
hash = (53 * hash) + getDiscoveryDocumentUri().hashCode();
hash = (37 * hash) + DISCOVERY_NAME_FIELD_NUMBER;
hash = (53 * hash) + getDiscoveryName().hashCode();
hash = (37 * hash) + RESOURCE_URL_FIELD_NUMBER;
hash = (53 * hash) + getResourceUrl().hashCode();
hash = (37 * hash) + PARENT_FIELD_NUMBER;
hash = (53 * hash) + getParent().hashCode();
if (hasData()) {
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getData().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
代码示例来源:origin: com.google.protobuf/protobuf-java
case 5:
hash = (37 * hash) + STRUCT_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getStructValue().hashCode();
break;
case 6:
代码示例来源:origin: googleapis/google-cloud-java
hash = (53 * hash) + getQueryStats().hashCode();
代码示例来源:origin: googleapis/google-cloud-java
hash = (53 * hash) + getPayload().hashCode();
代码示例来源:origin: googleapis/google-cloud-java
if (hasPayload()) {
hash = (37 * hash) + PAYLOAD_FIELD_NUMBER;
hash = (53 * hash) + getPayload().hashCode();
代码示例来源:origin: googleapis/google-cloud-java
hash = (53 * hash) + getMetadata().hashCode();
hash = (53 * hash) + getExecutionStats().hashCode();
代码示例来源:origin: googleapis/google-cloud-java
if (hasParameters()) {
hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getParameters().hashCode();
if (hasWebhookPayload()) {
hash = (37 * hash) + WEBHOOK_PAYLOAD_FIELD_NUMBER;
hash = (53 * hash) + getWebhookPayload().hashCode();
if (hasDiagnosticInfo()) {
hash = (37 * hash) + DIAGNOSTIC_INFO_FIELD_NUMBER;
hash = (53 * hash) + getDiagnosticInfo().hashCode();
代码示例来源:origin: googleapis/google-cloud-java
if (hasPayload()) {
hash = (37 * hash) + PAYLOAD_FIELD_NUMBER;
hash = (53 * hash) + getPayload().hashCode();
代码示例来源:origin: googleapis/google-cloud-java
if (hasParams()) {
hash = (37 * hash) + PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getParams().hashCode();
代码示例来源:origin: googleapis/google-cloud-java
if (hasParams()) {
hash = (37 * hash) + PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getParams().hashCode();
代码示例来源:origin: googleapis/google-cloud-java
hash = (53 * hash) + getPayload().hashCode();
代码示例来源:origin: googleapis/google-cloud-java
if (hasParameters()) {
hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getParameters().hashCode();
if (hasWebhookPayload()) {
hash = (37 * hash) + WEBHOOK_PAYLOAD_FIELD_NUMBER;
hash = (53 * hash) + getWebhookPayload().hashCode();
if (hasDiagnosticInfo()) {
hash = (37 * hash) + DIAGNOSTIC_INFO_FIELD_NUMBER;
hash = (53 * hash) + getDiagnosticInfo().hashCode();
代码示例来源:origin: googleapis/google-cloud-java
if (hasParams()) {
hash = (37 * hash) + PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getParams().hashCode();
代码示例来源:origin: googleapis/google-cloud-java
hash = (53 * hash) + getParams().hashCode();
内容来源于网络,如有侵权,请联系作者删除!